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