blob: f6e9724e2b62c6a0f82d8b86dedd86dcc1cd49ab [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001expect 200,404
2as testid@aaf.att.com
3
4# TC_User1.99.0.POS Remove user roles
5user role del @[user.name] com.test.TC_User1.@[user.name].manager
6user role del m99990@@[user.name].TC_User1.test.com com.test.TC_User1.@[user.name].worker
7user role del m99995@@[user.name].TC_User1.test.com com.test.TC_User1.@[user.name].worker
8
9# TC_User1.99.1.POS Namespace Admin can delete Namepace defined Roles & Perms
10force perm delete com.test.TC_User1.@[user.name].supplies * move
11force perm delete com.test.TC_User1.@[user.name].supplies * stock
12force perm delete com.test.TC_User1.@[user.name].schedule worker create
13force perm delete com.test.TC_User1.@[user.name].worker * annoy
14force role delete com.test.TC_User1.@[user.name].manager
15force role delete com.test.TC_User1.@[user.name].worker
16
17# TC_User1.99.10.POS Creds and delegate
18user delegate del @[user.name]
19user cred del m99990@@[user.name].TC_User1.test.com
20user cred del m99995@@[user.name].TC_User1.test.com
21
22as XX@NS
23# TC_User1.99.15.POS Remove ability to create creds
24perm ungrant com.att.aaf.mechid com.att create com.test.TC_User1.@[user.name].cred_admin
25perm ungrant com.att.aaf.delg com.att change com.test.TC_User1.@[user.name].cred_admin
26perm delete com.att.aaf.user :com.test.TC_User1.@[user.name] view
27
28as testid@aaf.att.com:<pass>
29force role delete com.test.TC_User1.@[user.name].cred_admin
30
31# TC_User1.99.90.POS Namespace Admin can delete Namespace
32force ns delete com.test.TC_User1.@[user.name]
33sleep @[NFR]
34
35# TC_User1.99.99.POS Check Clean Namespace
36ns list name com.test.TC_User1.@[user.name]
37