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