1 set testid@aaf.att.com <pass>
3 set testunused@aaf.att.com <pass>
8 # TC_Appr1.10.0.POS List NS to prove ok
9 ns list name com.test.appr
12 List Namespaces by Name[com.test.appr]
13 --------------------------------------------------------------------------------
15 ns list name com.test.appr.@[user.name]
18 List Namespaces by Name[com.test.appr.@[THE_USER]]
19 --------------------------------------------------------------------------------
21 # TC_Appr1.10.1.POS Create Personalized Namespace to add Approvals
22 ns create com.test.appr.@[user.name] @[user.name] testid@aaf.att.com
26 # TC_Appr1.10.2.POS Create General Namespace to add Approvals
27 ns create com.test.appr @[user.name] testid@aaf.att.com
31 # TC_Appr1.10.10.POS Create Roles in Namespace
32 role create com.test.appr.@[user.name].addToUserRole
36 role create com.test.appr.@[user.name].grantToPerm
40 role create com.test.appr.@[user.name].ungrantFromPerm
44 role create com.test.appr.@[user.name].grantFirstPerm
48 role create com.test.appr.@[user.name].grantSecondPerm
52 # TC_Appr1.10.12.POS Create Permissions in Namespace
53 perm create com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
56 Granted Permission [com.test.appr.@[THE_USER].ungrantFromRole|myInstance|myAction] to Role [com.test.appr.@[THE_USER].ungrantFromPerm]
58 perm create com.test.appr.@[user.name].grantToRole myInstance myAction
62 force perm create com.test.appr.@[user.name].deleteThisPerm myInstance myAction com.test.appr.@[user.name].grantedRole
65 Granted Permission [com.test.appr.@[THE_USER].deleteThisPerm|myInstance|myAction] to Role [com.test.appr.@[THE_USER].grantedRole] (Created)
67 perm create com.test.appr.@[user.name].grantTwoRoles myInstance myAction
71 perm create com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
74 Granted Permission [com.test.appr.@[THE_USER].ungrantTwoRoles|myInstance|myAction] to Role [com.test.appr.@[THE_USER].grantFirstPerm]
75 Granted Permission [com.test.appr.@[THE_USER].ungrantTwoRoles|myInstance|myAction] to Role [com.test.appr.@[THE_USER].grantSecondPerm]
77 as testunused@aaf.att.com
78 # TC_Appr1.15.01.NEG Create Future and Approvals with non-admin request
79 user role add @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].addToUserRole
81 Failed [SVC2403]: Approvals required, but not requested by Client
83 # TC_Appr1.15.02.NEG Create Approval for NS create
84 ns create com.test.appr.@[user.name].myProject @[user.name]
86 Failed [SVC2403]: Approvals required, but not requested by Client
88 # TC_Appr1.15.03.NEG Generate Approval for granting permission to role
89 perm grant com.test.appr.@[user.name].grantToRole myInstance myAction com.test.appr.@[user.name].grantToPerm
91 Failed [SVC2403]: Approvals required, but not requested by Client
93 # TC_Appr1.15.04.NEG Generate Approval for ungranting permission from role
94 perm ungrant com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
96 Failed [SVC2403]: Approvals required, but not requested by Client
98 # TC_Appr1.15.05.NEG Generate Approval for granting permission to role
99 perm grant com.test.appr.@[user.name].grantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
101 Failed [SVC2403]: Approvals required, but not requested by Client
102 Failed [SVC2403]: Approvals required, but not requested by Client
104 # TC_Appr1.15.06.NEG Generate Approval for ungranting permission from role
105 perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
107 Failed [SVC2403]: Approvals required, but not requested by Client
108 Failed [SVC2403]: Approvals required, but not requested by Client
110 # TC_Appr1.15.51.POS Create Future and Approvals with non-admin request
112 set request=true user role add @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].addToUserRole
114 UserRole Creation Accepted, but requires Approvals before actualizing
116 # TC_Appr1.15.52.POS Create Approval for NS create
118 set request=true ns create com.test.appr.@[user.name].myProject @[user.name]
120 Namespace Creation Accepted, but requires Approvals before actualizing
122 # TC_Appr1.15.53.POS Generate Approval for granting permission to role
124 set request=true perm grant com.test.appr.@[user.name].grantToRole myInstance myAction com.test.appr.@[user.name].grantToPerm
126 Permission Role Granted Accepted, but requires Approvals before actualizing
128 # TC_Appr1.15.54.POS Generate Approval for ungranting permission from role
129 request perm ungrant com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
131 Permission Role Ungranted Accepted, but requires Approvals before actualizing
133 # TC_Appr1.15.55.POS Generate Approval for granting permission to role
134 request perm grant com.test.appr.@[user.name].grantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
136 Permission Role Granted Accepted, but requires Approvals before actualizing
137 Permission Role Granted Accepted, but requires Approvals before actualizing
139 # TC_Appr1.15.56.POS Generate Approval for ungranting permission from role
140 request perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
142 Permission Role Ungranted Accepted, but requires Approvals before actualizing
143 Permission Role Ungranted Accepted, but requires Approvals before actualizing