blob: 4d6fa7580b161e432f50d483bf57feed52afc439 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001
2as testid@aaf.att.com
3
4expect 200,404
5
6# TC_Appr2.99.10.POS Delete UserRoles if exists
7user role del @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].deleteThisRole
8user role del @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].addToUserRole
9
10# TC_Appr2.10.11.POS Delete Roles if exists
11set force=true role delete com.test.appr.@[user.name].addToUserRole
12set force=true role delete com.test.appr.@[user.name].grantToPerm
13set force=true role delete com.test.appr.@[user.name].ungrantFromPerm
14role delete com.test.appr.@[user.name].grantedRole
15role delete com.test.appr.@[user.name].approvedRole
16role delete com.test.appr.@[user.name].approvedRole2
17role delete com.test.appr.@[user.name].grantFirstPerm
18role delete com.test.appr.@[user.name].grantSecondPerm
19
20# TC_Appr2.10.12.POS Delete Permissions if exists
21perm delete com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].grantedRole
22perm delete com.test.appr.@[user.name].grantToRole myInstance myAction
23perm delete com.test.appr.@[user.name].deleteThisPerm myInstance myAction com.test.appr.@[user.name].grantedRole
24perm delete com.test.appr.@[user.name].approvedPerm myInstance myAction
25perm delete com.test.appr.@[user.name].approvedPerm * *
26perm delete com.test.appr.@[user.name].approvedPerm2 myInstance myAction
27perm delete com.test.appr.@[user.name].grantTwoRoles myInstance myAction
28perm delete com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction
29
30
31# TC_Appr2.99.80.POS Delete Namespaces for TestSuite if exists
32ns delete com.test.appr.@[user.name].myProject
33set force=true ns delete com.test.appr.@[user.name]
34set force=true ns delete com.test.appr
35