1 # TC_Perm1.20.1.POS List Data on non-Empty NS
3 ns list name com.test.TC_Perm1.@[user.name]
5 # TC_Perm1.20.2.POS Add Perm
7 perm create com.test.TC_Perm1.@[user.name].p.A myInstance myAction
9 # TC_Perm1.20.3.NEG Already Added Perm
11 perm create com.test.TC_Perm1.@[user.name].p.A myInstance myAction
13 # TC_Perm1.20.4.POS Add Perm with non-existent Roles as well
15 force perm create com.test.TC_Perm1.@[user.name].p.B myInstance myAction com.test.TC_Perm1.@[user.name].r.A,com.test.TC_Perm1.@[user.name].r.B
17 # TC_Perm1.20.8.POS Print Info for Validation
19 ns list name com.test.TC_Perm1.@[user.name]
21 # TC_Perm1.20.9.NEG Already Added Perm with some Roles as well
23 perm create com.test.TC_Perm1.@[user.name].p.B myInstance myAction com.test.TC_Perm1.@[user.name].r.A,com.test.TC_Perm1.@[user.name].r.B
25 # TC_Perm1.20.10.NEG Non-admins can't change description
28 perm describe com.test.TC_Perm1.@[user.name].p.A myInstance myAction Description for A
30 # TC_Perm1.20.11.NEG Permission must exist to change description
33 perm describe com.test.TC_Perm1.@[user.name].p.C myInstance myAction Description for C
35 # TC_Perm1.20.12.POS Admin can change description
37 perm describe com.test.TC_Perm1.@[user.name].p.A myInstance myAction Description for A