1 # TC_Perm1.25.1.POS Create another Role in This namespace
3 role create com.test.TC_Perm1.@[user.name].r.C
5 # TC_Perm1.25.2.POS Create another Perm in This namespace
7 perm create com.test.TC_Perm1.@[user.name].p.C myInstance myAction
9 # TC_Perm1.25.3.NEG Permission must Exist to Add to Role
11 perm grant com.test.TC_Perm1.@[user.name].p.NO myInstance myAction com.test.TC_Perm1.@[user.name].r.C
13 # TC_Perm1.25.4.POS Grant individual new Perm to new Role
15 perm grant com.test.TC_Perm1.@[user.name].p.C myInstance myAction com.test.TC_Perm1.@[user.name].r.C
17 # TC_Perm1.25.5.NEG Already Granted Perm
19 perm grant com.test.TC_Perm1.@[user.name].p.C myInstance myAction com.test.TC_Perm1.@[user.name].r.C
21 # TC_Perm1.25.6.POS Print Info for Validation
23 ns list name com.test.TC_Perm1.@[user.name]
25 # TC_Perm1.25.10.POS UnGrant individual new Perm to new Role
27 perm ungrant com.test.TC_Perm1.@[user.name].p.C myInstance myAction com.test.TC_Perm1.@[user.name].r.C
29 # TC_Perm1.25.11.NEG Already UnGranted Perm
31 perm ungrant com.test.TC_Perm1.@[user.name].p.C myInstance myAction com.test.TC_Perm1.@[user.name].r.C
33 # TC_Perm1.25.20.POS Reset roles attached to permision with setTo
35 perm setTo com.test.TC_Perm1.@[user.name].p.C myInstance myAction com.test.TC_Perm1.@[user.name].r.C,com.test.TC_Perm1.@[user.name].r.A
37 # TC_Perm1.25.21.POS Owner of permission can reset roles
39 perm setTo com.test.TC_Perm1.@[user.name].p.C myInstance myAction