sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | # TC_DELG1.20.10.NEG Cannot create delegate with unknown user ID |
| 2 | expect 404 |
| 3 | user delegate add aa111q@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 4 | |
| 5 | # TC_DELG1.20.11.NEG Cannot Create Delegate with unknown delegate |
| 6 | expect 404 |
| 7 | user delegate add @[user.name]@csp.att.com aa111q@csp.att.com '2099-12-31 06:00' |
| 8 | |
| 9 | # TC_DELG1.20.20.NEG May not change user, no delegate permission |
| 10 | as m99999@@[user.name].delg.test.com |
| 11 | expect 403 |
| 12 | force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 13 | |
| 14 | as testid@aaf.att.com |
| 15 | # TC_DELG1.20.21.NEG Fail to Update Delegate that doesnt exist |
| 16 | expect 404 |
| 17 | user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 18 | |
| 19 | # TC_DELG1.20.22.NEG May not create delegate for self. |
| 20 | expect 406 |
| 21 | user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 22 | |
| 23 | # TC_DELG1.20.23.POS May create delegate for self for tests by forcing. |
| 24 | expect 201 |
| 25 | force user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 26 | |
| 27 | as XX@NS |
| 28 | # TC_DELG1.20.30.POS Expect Delegates for User |
| 29 | expect 200 |
| 30 | user list delegates user @[user.name]@csp.att.com |
| 31 | |
| 32 | as testid@aaf.att.com |
| 33 | # TC_DELG1.20.35.NEG Fail Create when exists |
| 34 | expect 409 |
| 35 | user delegate add @[user.name]@csp.att.com @[user.name]@csp.att.com '2099-12-31 06:00' |
| 36 | |
| 37 | as XX@NS |
| 38 | # TC_DELG1.20.40.POS Expect Delegates for User |
| 39 | expect 200 |
| 40 | user list delegates user @[user.name]@csp.att.com |
| 41 | |
| 42 | as testid@aaf.att.com |
| 43 | # TC_DELG1.20.46.POS Update Delegate with new Date |
| 44 | expect 200 |
| 45 | user delegate upd @[user.name]@csp.att.com @[user.name]@csp.att.com '2999-01-01 06:00' |
| 46 | |
| 47 | as XX@NS |
| 48 | # TC_DELG1.20.82.POS Expect Delegates for User |
| 49 | expect 200 |
| 50 | user list delegates user @[user.name]@csp.att.com |
| 51 | |
| 52 | # TC_DELG1.20.83.POS Expect Delegate to show up in list |
| 53 | expect 200 |
| 54 | user list delegates delegate @[user.name]@csp.att.com |
| 55 | |