sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | # TC_DELG1.10.1.POS Check For Existing Data |
| 2 | as testid@aaf.att.com |
| 3 | expect 200 |
| 4 | ns list name com.test.delg.@[user.name] |
| 5 | |
| 6 | as XX@NS |
| 7 | expect 201,409 |
| 8 | perm create com.att.aaf.delg com.att * com.att.admin |
| 9 | |
| 10 | expect 404 |
| 11 | user list delegates delegate @[user.name]@csp.att.com |
| 12 | |
| 13 | as testid@aaf.att.com |
| 14 | # TC_DELG1.10.2.POS Create Namespace to add IDs |
| 15 | expect 201 |
| 16 | ns create com.test.delg.@[user.name] @[user.name] testid@aaf.att.com |
| 17 | |
| 18 | as XX@NS |
| 19 | # TC_DELG1.10.10.POS Grant ability to change delegates |
| 20 | expect 404 |
| 21 | force perm grant com.att.aaf.mechid com.att create com.test.delg.@[user.name].change_delg |
| 22 | |
| 23 | # TC_DELG1.10.11.POS Grant ability to change delegates |
| 24 | expect 201 |
| 25 | role create com.test.delg.@[user.name].change_delg |
| 26 | |
| 27 | # TC_DELG1.10.12.POS Grant ability to change delegates |
| 28 | expect 201 |
| 29 | force perm grant com.att.aaf.mechid com.att create com.test.delg.@[user.name].change_delg |
| 30 | |
| 31 | # TC_DELG1.10.14.POS Create user role to change delegates |
| 32 | expect 201 |
| 33 | user role add testid@aaf.att.com com.test.delg.@[user.name].change_delg |
| 34 | |
| 35 | # TC_DELG1.10.15.POS Grant ability to create cred |
| 36 | expect 201 |
| 37 | perm grant com.att.aaf.delg com.att create com.test.delg.@[user.name].change_delg |
| 38 | |
| 39 | as testid@aaf.att.com |
| 40 | # TC_DELG1.10.30.POS Create cred that will change his own delg |
| 41 | expect 201 |
| 42 | user cred add m99999@@[user.name].delg.test.com password123 |
| 43 | |
| 44 | as XX@NS |
| 45 | TC_DELG1.10.31.POS ungrant ability to create cred |
| 46 | expect 200 |
| 47 | perm ungrant com.att.aaf.mechid com.att create com.test.delg.@[user.name].change_delg |
| 48 | |
| 49 | as testid@aaf.att.com |
| 50 | # TC_DELG1.10.99.POS Check for Data as Correct |
| 51 | expect 200 |
| 52 | ns list name com.test.delg.@[user.name] |
| 53 | |
| 54 | |
| 55 | |