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