Overridable Error Authorization Prototype
OIPA's ValidateExpressions and PostAssignmentValidateExpressions business rules now support the ability to configure the security roles that are able to override specific errors.
Prototype Explanation
The following transactions and business rules were configured in the Model Prototype Plan, located within the Prototype Company, to demonstrate this new functionality.
Transactions
- SecurityOverrideForPAVEErrors: This transaction is configured to return errors based on the value entered in the "Amount" field. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Functional Prototype Plan | Transactions | SecurityOverrideForPAVEErrors. The key configuration for this transaction is explained below.
- An "Amount" field is configured to accept an integer value.
- SecurityOverrideForVEErrors: This transaction is configured to return errors based on the value entered in the "Amount" field. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Functional Prototype Plan | Transactions | SecurityOverrideForPAVEErrors. The key configuration for this transaction is explained below.
- An "Amount" field is configured to accept an integer value.
Business Rules
- ValidateExpressions: This business rule is attached to the SecurityOverrideForVEErrors transaction. It contains configuration that specifies whether errors returned from the transaction to which it is attached are able to be overridden, as well as the specific errors that are able to be returned from the transaction. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Model Prototype Plan | Business Rules |Attached Rules | ValidateExpressions. The key configuration for this business rule is explained below.
- The <Expressions> element has its OVERRIDABLE attribute set to "Yes," which designates that errors returned from the transaction are able to be overridden.
- The <Expressions> element's ERRORNUMBER attribute contains two error numbers. These error numbers will appear in the Overridable Errors section of the security group's Transaction Security page.
- PostAssignmentValidateExpressions: This business rule is attached to the SecurityOverrideForPAVEErrors transaction. It contains configuration that specifies whether errors returned from the transaction to which it is attached are able to be overridden, as well as the specific errors that are able to be returned from the transaction. To view the prototype configuration, navigate in the Main Explorer to Companies | Prototype Company | Plans | Model Prototype Plan | Business Rules |Attached Rules | PostAssignmentValidateExpressions. The key configuration for this business rule is explained below.
- The <Expressions> element has its OVERRIDABLE attribute set to "Yes," which designates that errors returned from the transaction are able to be overridden.
- The <Expressions> element's ERRORNUMBER attribute contains two error numbers. These error numbers will appear in the Overridable Errors section of the security group's Transaction Security page.
Security Groups
- Prototype Super: This Security Group is configured to be able to override ORY001, but not ORY002 (see the Error Numbers section for an explanation of each error number).
- Prototype Tester: This Security Group is configured to be able to override both errors (see the Error Numbers section for an explanation of each error number).
Error Numbers
- ORY001: This error will be returned if the user enters a value less than 1000 in the "Amount" field.
- ORY002: This error will be returned if the user enters a value less than 500 in the "Amount" field.
View Prototype in OIPA
- Log in to OIPA using credentials for a user belonging to the Prototype Super security group.
- Open a policy belonging to the Model Prototype Plan.
- Add the SecurityOverrideForVEErrors activity.
- Enter a value under 500 in the Amount field. The system will display error number ORY002 without the ability to override.
- Enter a value under 1000 in the Amount field. The system will display error number ORY001 with the ability to override.
- Log out of OIPA and log back in using credentials for a user belonging to the Prototype Tester security group.
- Repeat steps 2 through 5 above. This time, both errors will be overridable.