Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlSetup of a 'Finance' Caslib with sensitive data and restricted permissions to simulate a real banking environment.
| 1 | PROC CAS; |
| 2 | SESSION casauto; |
| 3 | caslib Finance path='/cas/data/finance' dataSource={srcType='path'}; |
| 4 | ACCESSCONTROL.updSomeAcsCaslib / caslib='Finance', acl={{permission='ReadInfo', principal='authenticatedUsers', principalType='group', grant=true}}; |
| 5 | RUN; |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | ACCESSCONTROL.assumeRole / adminRole='superuser'; |
| 5 | |
| 6 | |
| 7 | RUN; |
| 8 |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | ACCESSCONTROL.createBackup / path='/cas/backups/daily_compliance_2025'; |
| 5 | |
| 6 | |
| 7 | RUN; |
| 8 |
The action completes successfully. A directory named 'daily_compliance_2025' is created at the specified path, containing the serialized ACL files. The CAS log confirms the backup location.