blob: 222e2a4c5320d24e4b3042904843abd86aa403af [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001as XX@NS:<pass>
2expect 200,404
3
4# TC_Perm1.99.1.POS Namespace Admin can delete Namepace defined Roles
5set force=true perm delete com.test.TC_Perm1.@[user.name].p.A myInstance myAction
6set force=true perm delete com.test.TC_Perm1.@[user.name].p.B myInstance myAction
7set force=true perm delete com.test.TC_Perm1.@[user.name].p.C myInstance myAction
8set force=true perm delete com.test.TC_Perm1.@[user.name].p.unknown myInstance myAction
9set force=true perm delete com.test.TC_Perm1.@[user.name].p.unknown2 myInstance myAction
10role delete com.test.TC_Perm1.@[user.name].r.A
11role delete com.test.TC_Perm1.@[user.name].r.B
12role delete com.test.TC_Perm1.@[user.name].r.C
13role delete com.test.TC_Perm1.@[user.name].r.unknown
14role delete com.test.TC_Perm1.@[user.name].r.unknown2
15role delete com.test2.TC_Perm1.@[user.name].r.C
16role delete com.test.TC_Perm1.@[user.name]_2.r.C
17role delete com.test2.TC_Perm1.@[user.name]_2.r.C
18
19# TC_Perm1.99.2.POS Remove ability to create creds
20user role del XX@NS com.test.TC_Perm1.@[user.name].cred_admin
21
22as XX@NS:<pass>
23perm ungrant com.att.aaf.mechid com.att create com.test.TC_Perm1.@[user.name].cred_admin
24
25as testid@aaf.att.com:<pass>
26role delete com.test.TC_Perm1.@[user.name].cred_admin
27
28sleep @[NFR]
29as XX@NS:<pass>
30# TC_Perm1.99.98.POS Namespace Admin can delete Namespace
31set force=true ns delete com.test2.TC_Perm1.@[user.name]
32as testid:<pass>
33force ns delete com.test.TC_Perm1.@[user.name].r
34force ns delete com.test.TC_Perm1.@[user.name]_2
35force ns delete com.test.TC_Perm1.@[user.name]
36force ns delete com.test2.TC_Perm1.@[user.name]
37
38# TC_Perm1.99.99.POS List to prove removed
39ns list name com.test.TC_Perm1.@[user.name]
40ns list name com.test.TC_Perm1.@[user.name].r
41ns list name com.test.TC_Perm1.@[user.name]_2
42ns list name com.test2.TC_Perm1.@[user.name]