blob: 8791a3b5dfb297e7b69106ec75384c58e1ef76a8 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001expect 403
2as testunused@aaf.att.com
3
4# TC_Appr1.15.01.NEG Create Future and Approvals with non-admin request
5user role add @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].addToUserRole
6
7# TC_Appr1.15.02.NEG Create Approval for NS create
8ns create com.test.appr.@[user.name].myProject @[user.name]
9
10# TC_Appr1.15.03.NEG Generate Approval for granting permission to role
11perm grant com.test.appr.@[user.name].grantToRole myInstance myAction com.test.appr.@[user.name].grantToPerm
12
13# TC_Appr1.15.04.NEG Generate Approval for ungranting permission from role
14perm ungrant com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
15
16# TC_Appr1.15.05.NEG Generate Approval for granting permission to role
17perm grant com.test.appr.@[user.name].grantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
18
19# TC_Appr1.15.06.NEG Generate Approval for ungranting permission from role
20perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
21
22expect 202
23# TC_Appr1.15.51.POS Create Future and Approvals with non-admin request
24set request=true user role add @[user.name]@@[user.name].appr.test.com com.test.appr.@[user.name].addToUserRole
25
26# TC_Appr1.15.52.POS Create Approval for NS create
27set request=true ns create com.test.appr.@[user.name].myProject @[user.name]
28
29# TC_Appr1.15.53.POS Generate Approval for granting permission to role
30set request=true perm grant com.test.appr.@[user.name].grantToRole myInstance myAction com.test.appr.@[user.name].grantToPerm
31
32# TC_Appr1.15.54.POS Generate Approval for ungranting permission from role
33request perm ungrant com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
34
35# TC_Appr1.15.55.POS Generate Approval for granting permission to role
36request perm grant com.test.appr.@[user.name].grantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
37
38# TC_Appr1.15.56.POS Generate Approval for ungranting permission from role
39request perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
40