blob: f1c61cec3335e168635bcf2d4b7725af1bd0face [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001
2as testid@aaf.att.com
3
4# TC_Appr1.10.0.POS List NS to prove ok
5expect 200
6ns list name com.test.appr
7ns list name com.test.appr.@[user.name]
8
9# TC_Appr1.10.1.POS Create Personalized Namespace to add Approvals
10expect 201
11ns create com.test.appr.@[user.name] @[user.name] testid@aaf.att.com
12
13# TC_Appr1.10.2.POS Create General Namespace to add Approvals
14ns create com.test.appr @[user.name] testid@aaf.att.com
15
16# TC_Appr1.10.10.POS Create Roles in Namespace
17role create com.test.appr.@[user.name].addToUserRole
18role create com.test.appr.@[user.name].grantToPerm
19role create com.test.appr.@[user.name].ungrantFromPerm
20role create com.test.appr.@[user.name].grantFirstPerm
21role create com.test.appr.@[user.name].grantSecondPerm
22
23# TC_Appr1.10.12.POS Create Permissions in Namespace
24perm create com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
25perm create com.test.appr.@[user.name].grantToRole myInstance myAction
26force perm create com.test.appr.@[user.name].deleteThisPerm myInstance myAction com.test.appr.@[user.name].grantedRole
27perm create com.test.appr.@[user.name].grantTwoRoles myInstance myAction
28perm create com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
29