sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | as XX@NS |
| 2 | # TC_Role2.40.1.POS List Data on Role |
| 3 | expect 200 |
| 4 | role list role com.test.TC_Role2.@[user.name].r.animals |
| 5 | role list role com.test.TC_Role2.@[user.name].r.dogs |
| 6 | role list role com.test.TC_Role2.@[user.name].r.pigs |
| 7 | |
| 8 | # TC_Role2.40.10.POS Add testunused to animals |
| 9 | expect 201 |
| 10 | as testid@aaf.att.com |
| 11 | user role add testunused@aaf.att.com com.test.TC_Role2.@[user.name].r.animals |
| 12 | |
| 13 | # TC_Role2.40.11.POS List by Name when part of role |
| 14 | as testunused@aaf.att.com |
| 15 | expect 200 |
| 16 | role list role com.test.TC_Role2.@[user.name].r.animals |
| 17 | |
| 18 | # TC_Role2.40.12.NEG List by Name when not part of Role |
| 19 | expect 403 |
| 20 | role list role com.test.TC_Role2.@[user.name].r.dogs |
| 21 | role list role com.test.TC_Role2.@[user.name].r.pigs |
| 22 | |
| 23 | |
| 24 | # TC_Role2.40.30.POS Read various Roles based on being Admin in Namespace |
| 25 | as testid@aaf.att.com |
| 26 | expect 200 |
| 27 | role list role com.test.TC_Role2.@[user.name].r.animals |
| 28 | role list role com.test.TC_Role2.@[user.name].r.dogs |
| 29 | role list role com.test.TC_Role2.@[user.name].r.pigs |
| 30 | |
| 31 | # TC_Role2.40.50.POS Change testunused to Pigs |
| 32 | as testid@aaf.att.com |
| 33 | expect 200 |
| 34 | user role del testunused@aaf.att.com com.test.TC_Role2.@[user.name].r.animals |
| 35 | expect 201 |
| 36 | user role add testunused@aaf.att.com com.test.TC_Role2.@[user.name].r.pigs |
| 37 | |
| 38 | # TC_Role2.40.51.POS Read various Roles based on having Explicit Permissions |
| 39 | as testunused@aaf.att.com |
| 40 | expect 403 |
| 41 | role list role com.test.TC_Role2.@[user.name].r.animals |
| 42 | role list role com.test.TC_Role2.@[user.name].r.dogs |
| 43 | expect 200 |
| 44 | role list role com.test.TC_Role2.@[user.name].r.pigs |
| 45 | |