sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 1 | expect 200,404 |
| 2 | as testid@aaf.att.com |
| 3 | |
| 4 | # TC_UR1.99.1.POS Remove User from Role |
| 5 | role user del com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com,m00002@@[user.name].TC_UR1.test.com |
| 6 | role user del com.test.TC_UR1.@[user.name].r2 m00001@@[user.name].TC_UR1.test.com,m00002@@[user.name].TC_UR1.test.com |
| 7 | role user setTo com.test.TC_UR1.@[user.name].r1 |
| 8 | |
| 9 | # TC_UR1.99.2.POS Remove ability to create creds |
| 10 | user role del testid@aaf.att.com com.test.TC_UR1.@[user.name].cred_admin |
| 11 | |
| 12 | as XX@NS |
| 13 | perm ungrant com.att.aaf.mechid com.att create com.test.TC_UR1.@[user.name].cred_admin |
| 14 | |
| 15 | as testid@aaf.att.com |
| 16 | role delete com.test.TC_UR1.@[user.name].cred_admin |
| 17 | |
| 18 | # TC_UR1.99.3.POS Delete Creds |
| 19 | set force=true |
| 20 | user cred del m00001@@[user.name].TC_UR1.test.com |
| 21 | set force=true |
| 22 | user cred del m00002@@[user.name].TC_UR1.test.com |
| 23 | |
| 24 | # TC_UR1.99.4.POS Delete Roles |
| 25 | set force=true role delete com.test.TC_UR1.@[user.name].r1 |
| 26 | set force=true role delete com.test.TC_UR1.@[user.name].r2 |
| 27 | |
| 28 | # TC_UR1.99.5.POS Delete Namespace |
| 29 | set force=true ns delete com.test.TC_UR1.@[user.name] |
| 30 | |
| 31 | # TC_UR1.99.99.POS Verify Cleaned NS |
| 32 | ns list name com.test.TC_UR1.@[user.name] |