2 set testid@aaf.att.com <pass>
3 set testunused@aaf.att.com <pass>
4 set testid_1@test.com <pass>
5 set testid_2@test.com <pass>
10 # TC_Perm3.10.0.POS Print NS to prove ok
11 ns list name com.test.TC_Perm3.@[user.name]
14 List Namespaces by Name[com.test.TC_Perm3.@[THE_USER]]
15 --------------------------------------------------------------------------------
16 *** Namespace Not Found ***
18 # TC_Perm3.10.1.POS Create Namespace with User ID
19 ns create com.test.TC_Perm3.@[user.name]_1 @[user.name] testid_1@test.com
23 # TC_Perm3.10.2.POS Create Namespace with Different ID
24 ns create com.test.TC_Perm3.@[user.name]_2 @[user.name] testid_2@test.com
28 # TC_Perm3.10.3.POS Create Namespace in Different Company
29 ns create com.att.TC_Perm3.@[user.name] @[user.name] testunused@aaf.att.com
34 # TC_Perm3.20.0.POS User1 Create a Perm
35 perm create com.test.TC_Perm3.@[user.name]_1.dev.myPerm_a myInstance myAction
39 # TC_Perm3.20.5.NEG User1 should not be able to create Role in other group
40 role create com.test.TC_Perm3.@[user.name]_2.dev.myRole_a
42 Failed [SVC1403]: Forbidden - [testid_1@test.com] may not write Role [com.test.TC_Perm3.@[THE_USER]_2.dev.myRole_a]
44 # TC_Perm3.20.6.POS User2 should be able to create Role in own group
46 role create com.test.TC_Perm3.@[user.name]_2.dev.myRole_a
50 # TC_Perm3.20.7.NEG User2 should not be able to grant Perm to own Role
51 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_a myInstance myAction com.test.TC_Perm3.@[user.name]_2.dev.myRole_a
53 Failed [SVC1403]: Forbidden - [testid_2@test.com] may not write Perm [com.test.TC_Perm3.@[THE_USER]_1.dev.myPerm_a|myInstance|myAction]
55 # TC_Perm3.20.8.NEG User2 cannot create Role in NS 2
57 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_a myInstance myAction com.test.TC_Perm3.@[user.name]_2.dev.myRole_a
59 Failed [SVC1403]: Forbidden - [testid_2@test.com] may not write Perm [com.test.TC_Perm3.@[THE_USER]_1.dev.myPerm_a|myInstance|myAction]
61 # TC_Perm3.20.9.POS Role created, but can't grant... has to be testid_1
63 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_a myInstance myAction com.test.TC_Perm3.@[user.name]_2.dev.myRole_a
65 Granted Permission [com.test.TC_Perm3.@[THE_USER]_1.dev.myPerm_a|myInstance|myAction] to Role [com.test.TC_Perm3.@[THE_USER]_2.dev.myRole_a]
67 # TC_Perm3.30.0.POS User1 Create a Perm
69 perm create com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction
73 # TC_Perm3.30.5.NEG User1 should not be able to create Role in other group
74 role create com.test.TC_Perm3.@[user.name]_2.dev.myRole_b
76 Failed [SVC1403]: Forbidden - [testid_1@test.com] may not write Role [com.test.TC_Perm3.@[THE_USER]_2.dev.myRole_b]
78 # TC_Perm3.30.6.POS User2 should be able to create Role in own group
79 as testunused@aaf.att.com
80 role create com.att.TC_Perm3.@[user.name].dev.myRole_b
84 # TC_Perm3.30.7.NEG User2 should not be able to grant Perm to own Role
85 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction com.att.TC_Perm3.@[user.name].dev.myRole_b
87 Failed [SVC1403]: Forbidden - [testunused@aaf.att.com] may not write Perm [com.test.TC_Perm3.@[THE_USER]_1.dev.myPerm_b|myInstance|myAction]
89 # TC_Perm3.30.8.POS User should be able to grant cross company only Double Perm
91 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction com.att.TC_Perm3.@[user.name].dev.myRole_b
93 Failed [SVC1403]: Forbidden - [testid_1@test.com] may not write Role [com.att.TC_Perm3.@[THE_USER].dev.myRole_b]
96 # TC_Perm3.99.2.POS Namespace Admin can delete Namespace
97 force ns delete com.test.TC_Perm3.@[user.name]_1
101 # TC_Perm3.99.3.POS Print Namespaces
102 ns list name com.test.TC_Perm3.@[user.name]_1
105 List Namespaces by Name[com.test.TC_Perm3.@[THE_USER]_1]
106 --------------------------------------------------------------------------------
107 *** Namespace Not Found ***
110 # TC_Perm3.99.4.POS Namespace Admin can delete Namespace
111 force ns delete com.test.TC_Perm3.@[user.name]_2
115 # TC_Perm3.99.5.POS Print Namespaces
116 ns list name com.test.TC_Perm3.@[user.name]_2
119 List Namespaces by Name[com.test.TC_Perm3.@[THE_USER]_2]
120 --------------------------------------------------------------------------------
121 *** Namespace Not Found ***
123 as testunused@aaf.att.com
124 # TC_Perm3.99.6.POS Remove Namespace from other company
125 force ns delete com.att.TC_Perm3.@[user.name]
129 # TC_Perm3.99.7.POS Print Namespace from other company
130 ns list name com.att.TC_Perm3.@[user.name]
133 List Namespaces by Name[com.att.TC_Perm3.@[THE_USER]]
134 --------------------------------------------------------------------------------
135 *** Namespace Not Found ***