blob: 18231c0dafdf2f813cd5065fdd7baa7e463c9959 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001as testid@aaf.att.com
2# TC_Cred1.10.0.POS List NS to prove ok
3expect 200
4ns list name com.test.TC_Cred1.@[user.name]
5
6# TC_Cred1.10.1.POS Create Personalized Namespace to add Credentials
7expect 201
8ns create com.test.TC_Cred1.@[user.name] @[user.name] testid@aaf.att.com
9
10# TC_Cred1.10.10.POS Create role to assign mechid perm to
11expect 201
12role create com.test.TC_Cred1.@[user.name].cred_admin testid@aaf.att.com
13role create com.test.TC_Cred1.@[user.name].pw_reset
14
15# TC_Cred1.10.11.POS Assign roles to perms
16as XX@NS
17expect 201
18perm create com.att.aaf.password com.test reset com.test.TC_Cred1.@[user.name].pw_reset
19perm create com.att.aaf.mechid com.test create com.test.TC_Cred1.@[user.name].cred_admin
20perm grant com.att.aaf.mechid com.att create com.test.TC_Cred1.@[user.name].cred_admin
21
22as testid@aaf.att.com
23# TC_Cred1.10.30.POS Assign user for creating creds
24expect 201
25user cred add m99999@@[user.name].TC_Cred1.test.com password123
26set m99999@@[user.name].TC_Cred1.test.com=password123
27
28
29# TC_Cred1.10.31.POS Credential used to similate non-admin Tier1 user with reset and create permissions
30expect 201
31user role add m99999@@[user.name].TC_Cred1.test.com com.test.TC_Cred1.@[user.name].pw_reset,com.test.TC_Cred1.@[user.name].cred_admin
32
33# TC_Cred1.10.32.POS Remove create rights for testing
34expect 200
35user role del testid@aaf.att.com com.test.TC_Cred1.@[user.name].cred_admin
36