1 # TC_Role1.50.1.POS Create user to attach to role
\r
3 user cred add m00001@@[user.name].TC_Role1.test.com password123
\r
5 # TC_Role1.50.2.POS Create new role
\r
7 role create com.test.TC_Role1.@[user.name].r.C
\r
9 # TC_Role1.50.3.POS Attach user to role
\r
11 user role add m00001@@[user.name].TC_Role1.test.com com.test.TC_Role1.@[user.name].r.C
\r
13 # TC_Role1.50.4.POS Create permission and attach to role
\r
15 perm create com.test.TC_Role1.@[user.name].p.C myInstance myAction com.test.TC_Role1.@[user.name].r.C
\r
17 # TC_Role1.50.20.NEG Delete role with permission and user attached should fail
\r
19 role delete com.test.TC_Role1.@[user.name].r.C
\r
21 # TC_Role1.50.21.POS Force delete role should work
\r
23 set force=true role delete com.test.TC_Role1.@[user.name].r.C
\r
25 # TC_Role1.50.30.POS List Data on non-Empty NS
\r
27 ns list name com.test.TC_Role1.@[user.name]
\r