Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlStandard environment initialization.
| 1 | PROC CAS; |
| 2 | SESSION casauto; |
| 3 | ACCESSCONTROL.assumeRole / adminRole='superuser'; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | /* Expect Error: Path is required by default */ |
| 3 | ACCESSCONTROL.createBackup; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | /* Expect Success: Path is not required if tables=true */ |
| 3 | ACCESSCONTROL.createBackup / tables=true; |
| 4 | RUN; |
Step 1 should produce a severity error indicating the 'path' parameter is missing. Step 2 should execute successfully, proving that the 'path' requirement is conditionally waived when 'tables' is set to true, confirming the documentation's logic.