To enable administrators to control the evaluation of individual authorization objects
in the scenario, add the authorization objects to the scenario definition.
Prerequisites
- You have implemented CL_SACF=>AUTH_CHECK_SPEC in your
development.
- You have created a productive scenario for testing.
Procedure
- Start Workbench for Switchable Authorization Check
Scenarios (transaction
SACF).
- Select Production Scenario.
- Enter selection parameters.
- Choose (Execute).
- Select a scenario definition and choose (Display <-> Change).
- Change the <Scenario Status> to the value
X, N, or
R.
-
Status X
The system checks your authorizations against the authorization
objects in your scenario. The system also records in the
scenario definition and the productive scenario that the system
should actively check this authorization object for this
scenario.
-
Status N
The system ignores the authorization objects in your scenario,
you always succeed. The system also records in the scenario
definition and the productive scenario that the system should
always ignore this authorization object for this scenario.
-
Status R
When the system encounters an authorization object in the
application, it opens the scenario definition in change mode
with the authorization object preselected. Choose a status for
the authorization check manually. You have then set the status
only for the scenario definition. The status for the productive
scenario is empty.
- Save your entries.
- Start your application and run through the scenario for which your created the scenario
definition.
Results
You have determined how you want authorizations to be checked in the scenario
definition. As long as the scenario meets the requirements for your solution, you
can then transport the scenario definition with your application. Otherwise you can
manually adjust the authorization objects until it meets your requirements.