blob: 24d16d3a0c9cd27db98ef4576537f747db751819 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001expect 200,404
2as testid@aaf.att.com
3
4# TC_NS2.99.1.POS Namespace Admin can delete Namepace defined Roles & Perms
5role delete com.test.TC_NS2.@[user.name].myRole
6role delete com.test.TC_NS2.@[user.name].watcher
7perm delete com.test.TC_NS2.@[user.name].myType myInstance myAction
8perm delete com.test.TC_NS2.@[user.name].myType * *
9user cred del m99990@@[user.name].TC_NS2.test.com
10
11as XX@NS
12force perm delete com.att.aaf.ns :com.test.TC_NS2.@[user.name]:ns read
13
14# TC_NS2.99.15.POS Remove ability to create creds
15perm ungrant com.att.aaf.mechid com.att create com.test.TC_NS2.@[user.name].cred_admin
16
17as testid@aaf.att.com:<pass>
18force role delete com.test.TC_NS2.@[user.name].cred_admin
19
20# TC_NS2.99.90.POS Namespace Admin can delete Namespace
21force ns delete com.test.TC_NS2.@[user.name].project
22force ns delete com.test.TC_NS2.@[user.name]
23sleep @[NFR]
24
25# TC_NS2.99.99.POS Check Clean Namespace
26ns list name com.test.TC_NS2.@[user.name]
27