Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlGenerate 5 regional staging tables.
| 1 | |
| 2 | DATA casuser.region_north; |
| 3 | x=1; |
| 4 | |
| 5 | RUN; |
| 6 | |
| 7 | DATA casuser.region_south; |
| 8 | x=1; |
| 9 | |
| 10 | RUN; |
| 11 | |
| 12 | DATA casuser.region_east; |
| 13 | x=1; |
| 14 | |
| 15 | RUN; |
| 16 | |
| 17 | DATA casuser.region_west; |
| 18 | x=1; |
| 19 | |
| 20 | RUN; |
| 21 | |
| 22 | DATA casuser.region_central; |
| 23 | x=1; |
| 24 | |
| 25 | RUN; |
| 26 |
| 1 | PROC CAS; |
| 2 | regions = {"region_north", "region_south", "region_east", "region_west", "region_central"}; |
| 3 | DO r over regions; |
| 4 | ACCESSCONTROL.checkOutObject / uri="cas/caslibs/casuser/tables/" || r; |
| 5 | END; |
| 6 | ACCESSCONTROL.whatCheckoutsExist; |
| 7 | RUN; |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.checkInAllObjects; |
| 3 | ACCESSCONTROL.whatCheckoutsExist; |
| 4 | RUN; |
The action must handle multiple locks simultaneously. The final state must show zero checked-out objects, proving the bulk release capability works efficiently.