Name | Signature and Synopsis |
---|---|
verifyAuthorization | boolean verifyAuthorization(Object token,
Object decisionProject,
String earPath,
String aclConfig) Function runs Authorization checks on any rules/individual cells that were modified by the user who checked in this project. For the sake of optimizing overheads of running the check on the entire decision table, this method is used. This also ensures checks are not run on anything user did not touch in a decision table and which potentially the user did not have access to. The function runs Authorization checks only on catalog functions used in the table. If the user's role did not have permissions to invoke a catalog function and if it was used in a rule/cell modified by the user, an error saying "Insufficient Access Privileges" is thrown on RMS consle as well as back to the Decision Manager. |
verifyOperationAccess | boolean verifyOperationAccess(String aclConfig,
Object token,
String resourcePath,
String operationName) This function performs access control for operations requested like "checkout" or "commit" and returns true if the requested operation was allowed, else false |