sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | |
| 2 | as testid@aaf.att.com |
| 3 | # TC_NS2.10.0.POS Check for Existing Data |
| 4 | expect 200 |
| 5 | ns list name com.test.TC_NS2.@[user.name] |
| 6 | |
| 7 | # TC_NS2.10.1.POS Create Namespace with valid IDs and Responsible Parties |
| 8 | expect 201 |
| 9 | ns create com.test.TC_NS2.@[user.name] @[user.name] testid@aaf.att.com |
| 10 | ns create com.test.TC_NS2.@[user.name].project @[user.name] testunused@aaf.att.com |
| 11 | |
| 12 | # TC_NS2.10.10.POS Create role to assign mechid perm to |
| 13 | expect 201 |
| 14 | role create com.test.TC_NS2.@[user.name].cred_admin testid@aaf.att.com |
| 15 | |
| 16 | as XX@NS:<pass> |
| 17 | # TC_NS2.10.11.POS Assign role to mechid perm |
| 18 | expect 201 |
| 19 | perm grant com.att.aaf.mechid com.att create com.test.TC_NS2.@[user.name].cred_admin |
| 20 | |
| 21 | |
| 22 | as testid@aaf.att.com |
| 23 | # TC_NS2.10.70.POS Expect Namespace to be created |
| 24 | expect 200 |
| 25 | ns list name com.test.TC_NS2.@[user.name] |
| 26 | |
| 27 | as testid@aaf.att.com |
| 28 | # TC_NS2.10.70.POS Expect Namespace to be created |
| 29 | expect 200 |
| 30 | perm list role com.test.TC_NS2.@[user.name].admin |
| 31 | |
| 32 | as testid@aaf.att.com |
| 33 | # TC_NS2.10.70.POS Expect Namespace to be created |
| 34 | expect 200 |
| 35 | perm list role com.test.TC_NS2.@[user.name].owner |
| 36 | |
| 37 | as testid@aaf.att.com |
| 38 | # TC_NS2.10.70.POS Expect Namespace to be created |
| 39 | expect 200 |
| 40 | role list perm com.test.TC_NS2.@[user.name].access * * |
| 41 | |
| 42 | as testid@aaf.att.com |
| 43 | # TC_NS2.10.70.POS Expect Namespace to be created |
| 44 | expect 200 |
| 45 | role list perm com.test.TC_NS2.@[user.name].access * read |
| 46 | |
| 47 | as testid@aaf.att.com |
| 48 | # TC_NS2.10.80.POS Expect Namespace to be created |
| 49 | expect 200 |
| 50 | ns list name com.test.TC_NS2.@[user.name].project |
| 51 | |
| 52 | as testid@aaf.att.com |
| 53 | # TC_NS2.10.80.POS Expect Namespace to be created |
| 54 | expect 200 |
| 55 | perm list role com.test.TC_NS2.@[user.name].project.admin |
| 56 | |
| 57 | as testid@aaf.att.com |
| 58 | # TC_NS2.10.80.POS Expect Namespace to be created |
| 59 | expect 200 |
| 60 | perm list role com.test.TC_NS2.@[user.name].project.owner |
| 61 | |
| 62 | as testid@aaf.att.com |
| 63 | # TC_NS2.10.80.POS Expect Namespace to be created |
| 64 | expect 200 |
| 65 | role list perm com.test.TC_NS2.@[user.name].project.access * * |
| 66 | |
| 67 | as testid@aaf.att.com |
| 68 | # TC_NS2.10.80.POS Expect Namespace to be created |
| 69 | expect 200 |
| 70 | role list perm com.test.TC_NS2.@[user.name].project.access * read |
| 71 | |