Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlEnsure Superuser privileges are active.
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | ACCESSCONTROL.assumeRole / adminRole='superuser'; |
| 5 | |
| 6 | |
| 7 | RUN; |
| 8 |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.startTransaction RESULT=transEnv; |
| 3 | ACCESSCONTROL.createBackup / caslib='casuser' name='Migration_Snapshot_V2' transactionId=transEnv.transId; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.completeBackup; |
| 3 | RUN; |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | ACCESSCONTROL.commitTransaction / transactionId=transEnv.transId; |
| 5 | |
| 6 | |
| 7 | RUN; |
| 8 |
The completeBackup action returns immediately with no parameters required. The logs confirm the backup state is finalized, allowing the subsequent commit action to succeed.