summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/TC_Link/10_init
blob: 0f8a4431a450318e13d3b4769524de449a35990e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
expect 201
# TC_10
as XX@NS
ns create com.test.TC_Link_1.@[user.name] @[user.name] XX@NS
ns create com.test.TC_Link_2.@[user.name] @[user.name] XX@NS

role create com.test.TC_Link_1.@[user.name].myRole

perm create com.test.TC_Link_2.@[user.name].myPerm myInstance myAction

perm grant com.test.TC_Link_2.@[user.name].myPerm myInstance myAction com.test.TC_Link_1.@[user.name].myRole