sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | expect 403 |
| 2 | as testunused@aaf.att.com |
| 3 | |
| 4 | # TC_Appr1.15.01.NEG Create Future and Approvals with non-admin request |
| 5 | user 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 |
| 8 | ns create com.test.appr.@[user.name].myProject @[user.name] |
| 9 | |
| 10 | # TC_Appr1.15.03.NEG Generate Approval for granting permission to role |
| 11 | perm 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 |
| 14 | perm 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 |
| 17 | perm 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 |
| 20 | perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm |
| 21 | |
| 22 | expect 202 |
| 23 | # TC_Appr1.15.51.POS Create Future and Approvals with non-admin request |
| 24 | set 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 |
| 27 | set 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 |
| 30 | set 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 |
| 33 | request 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 |
| 36 | request 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 |
| 39 | request perm ungrant com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm |
| 40 | |