2 changed files with 115 additions and 0 deletions
@ -0,0 +1,109 @@ |
|||||
|
{ |
||||
|
"items": [ |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "readInfo", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "select", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "insert", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "update", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "delete", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "createTable", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "dropTable", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "alterTable", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "promote", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "alterCaslib", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "manageAccess", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "deleteSource", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "dwh", |
||||
|
"identityType": "group", |
||||
|
"permission": "limitedPromote", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "*", |
||||
|
"identityType": "group", |
||||
|
"permission": "readInfo", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
}, |
||||
|
{ |
||||
|
"identity": "*", |
||||
|
"identityType": "group", |
||||
|
"permission": "select", |
||||
|
"type": "grant", |
||||
|
"version": 1 |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,6 @@ |
|||||
|
#!/bin/bash |
||||
|
SAS_ADMIN=/home/jan/sas-admin |
||||
|
|
||||
|
$SAS_ADMIN -k cas caslibs clear-controls --server cas-shared-default --name test-rmn --force --su |
||||
|
$SAS_ADMIN -k cas caslibs add-controls --server cas-shared-default --name test-rmn --source-file authcaslib.json --su |
||||
|
|
||||
Loading…
Reference in new issue