sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 1 | # TC_Realm1.40.1.POS Create role to add to users |
| 2 | expect 201 |
| 3 | role create com.test.TC_Realm1.@[user.name].role2 |
| 4 | |
| 5 | # TC_Realm1.40.2.NEG Add user, but default domain wrong |
| 6 | expect 403 |
| 7 | user role add testunused com.test.TC_Realm1.@[user.name].role2 |
| 8 | |
| 9 | # TC_Realm1.40.3.POS Add user, with default domain appended |
| 10 | expect 201 |
| 11 | user role add @[user.name] com.test.TC_Realm1.@[user.name].role2 |
| 12 | |
| 13 | # TC_Realm1.40.10.NEG Add delegate, but default domain wrong |
| 14 | expect 404 |
| 15 | user delegate add testunused testid 2099-01-01 |
| 16 | |
| 17 | # TC_Realm1.40.11.POS Add delegate, with default domain appended |
| 18 | expect 201 |
| 19 | force user delegate add @[user.name] @[user.name] 2099-01-01 |
| 20 | |
| 21 | # TC_Realm1.40.12.POS Update delegate, with default domain appended |
| 22 | expect 200 |
| 23 | user delegate upd @[user.name] @[user.name] 2099-01-01 |
| 24 | |
| 25 | as XX@NS |
| 26 | # TC_Realm1.40.20.POS List delegate, with default domain appended |
| 27 | expect 200 |
| 28 | user list delegates user @[user.name] |
| 29 | |
| 30 | # TC_Realm1.40.21.POS List delegate, with default domain appended |
| 31 | expect 200 |
| 32 | user list delegates delegate @[user.name] |
| 33 | |
| 34 | as testid@aaf.att.com |
| 35 | # TC_Realm1.40.80.POS Delete user, with default domain appended |
| 36 | expect 200 |
| 37 | user role del @[user.name] com.test.TC_Realm1.@[user.name].role2 |
| 38 | |
| 39 | # TC_Realm1.40.81.POS Delete delegate, with default domain appended |
| 40 | expect 200 |
| 41 | user delegate del @[user.name] |
| 42 | |