sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | set testid@aaf.att.com <pass> |
| 2 | set testunused@aaf.att.com <pass> |
| 3 | set XX@NS <pass> |
| 4 | set bogus boguspass |
| 5 | #delay 10 |
| 6 | set NFR 0 |
| 7 | as XX@NS |
| 8 | # TC_Wild.10.0.POS Validate NS ok |
| 9 | ns list name com.att.test.TC_Wild.@[user.name] |
| 10 | ** Expect 200 ** |
| 11 | |
| 12 | List Namespaces by Name[com.att.test.TC_Wild.@[THE_USER]] |
| 13 | -------------------------------------------------------------------------------- |
| 14 | *** Namespace Not Found *** |
| 15 | |
| 16 | # TC_Wild.10.1.POS Create Namespace with valid IDs and Responsible Parties |
| 17 | ns create com.att.TC_Wild.@[user.name] @[user.name] testid@aaf.att.com |
| 18 | ** Expect 201 ** |
| 19 | Created Namespace |
| 20 | |
| 21 | # TC_Wild.10.10.POS Create a clean MechID |
| 22 | user cred add m99999@@[user.name].TC_Wild.att.com aNewPass8 |
| 23 | ** Expect 201 ** |
| 24 | Added Credential [m99999@@[THE_USER].TC_Wild.att.com] |
| 25 | |
| 26 | set m99999@@[THE_USER].TC_Wild.att.com aNewPass8 |
| 27 | as XX@NS |
| 28 | # TC_Wild.10.11.POS Create role and assign MechID to |
| 29 | role create com.att.TC_Wild.@[user.name].service m99999@@[user.name].TC_Wild.att.com |
| 30 | ** Expect 201 ** |
| 31 | Created Role |
| 32 | Added User [m99999@@[THE_USER].TC_Wild.att.com] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 33 | |
| 34 | as m99999@@[THE_USER].TC_Wild.att.com |
| 35 | # TC_Wild.20.1.NEG Fail to create a perm in NS |
| 36 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 37 | ** Expect 403 ** |
| 38 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Perm [com.att.TC_Wild.@[THE_USER].myType|myInstance|myAction] |
| 39 | |
| 40 | # TC_Wild.20.3.POS Add "access perm" based Wild Card with specific Action |
| 41 | as XX@NS |
| 42 | perm create com.att.TC_Wild.@[user.name].access :perm:myType:*:myAction write com.att.TC_Wild.@[user.name].service |
| 43 | ** Expect 201 ** |
| 44 | Created Permission |
| 45 | Granted Permission [com.att.TC_Wild.@[THE_USER].access|:perm:myType:*:myAction|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 46 | |
| 47 | # TC_Wild.20.5.POS Print Perms |
| 48 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 49 | ** Expect 200 ** |
| 50 | |
| 51 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 52 | -------------------------------------------------------------------------------- |
| 53 | PERM Type Instance Action |
| 54 | -------------------------------------------------------------------------------- |
| 55 | com.att.TC_Wild.@[THE_USER].access :perm:myType:*:myAction write |
| 56 | |
| 57 | |
| 58 | # TC_Wild.20.7.POS Now able to create a perm in NS |
| 59 | as m99999@@[THE_USER].TC_Wild.att.com |
| 60 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 61 | ** Expect 201 ** |
| 62 | Created Permission |
| 63 | |
| 64 | # TC_Wild.20.8.POS Print Perms |
| 65 | as XX@NS |
| 66 | perm list ns com.att.TC_Wild.@[user.name] |
| 67 | ** Expect 200 ** |
| 68 | |
| 69 | List Perms by NS [com.att.TC_Wild.@[THE_USER]] |
| 70 | -------------------------------------------------------------------------------- |
| 71 | PERM Type Instance Action |
| 72 | -------------------------------------------------------------------------------- |
| 73 | com.att.TC_Wild.@[THE_USER].access * * |
| 74 | com.att.TC_Wild.@[THE_USER].access * read |
| 75 | com.att.TC_Wild.@[THE_USER].access :perm:myType:*:myAction write |
| 76 | com.att.TC_Wild.@[THE_USER].myType myInstance myAction |
| 77 | |
| 78 | |
| 79 | # TC_Wild.20.10.POS Delete Perms Created |
| 80 | force perm delete com.att.TC_Wild.@[user.name].access :perm:myType:*:myAction write |
| 81 | ** Expect 200 ** |
| 82 | Deleted Permission |
| 83 | |
| 84 | force perm delete com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 85 | ** Expect 200 ** |
| 86 | Deleted Permission |
| 87 | |
| 88 | as m99999@@[THE_USER].TC_Wild.att.com |
| 89 | # TC_Wild.21.1.NEG Fail to create a perm in NS |
| 90 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 91 | ** Expect 403 ** |
| 92 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Perm [com.att.TC_Wild.@[THE_USER].myType|myInstance|myAction] |
| 93 | |
| 94 | # TC_Wild.21.3.POS Add "access perm" based Wild Card with specific Action |
| 95 | as XX@NS |
| 96 | perm create com.att.TC_Wild.@[user.name].access :perm:myType:*:* write com.att.TC_Wild.@[user.name].service |
| 97 | ** Expect 201 ** |
| 98 | Created Permission |
| 99 | Granted Permission [com.att.TC_Wild.@[THE_USER].access|:perm:myType:*:*|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 100 | |
| 101 | # TC_Wild.21.5.POS Print Perms |
| 102 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 103 | ** Expect 200 ** |
| 104 | |
| 105 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 106 | -------------------------------------------------------------------------------- |
| 107 | PERM Type Instance Action |
| 108 | -------------------------------------------------------------------------------- |
| 109 | com.att.TC_Wild.@[THE_USER].access :perm:myType:*:* write |
| 110 | |
| 111 | |
| 112 | # TC_Wild.21.7.POS Now able to create a perm in NS |
| 113 | as m99999@@[THE_USER].TC_Wild.att.com |
| 114 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 115 | ** Expect 201 ** |
| 116 | Created Permission |
| 117 | |
| 118 | # TC_Wild.21.8.POS Print Perms |
| 119 | as XX@NS |
| 120 | perm list ns com.att.TC_Wild.@[user.name] |
| 121 | ** Expect 200 ** |
| 122 | |
| 123 | List Perms by NS [com.att.TC_Wild.@[THE_USER]] |
| 124 | -------------------------------------------------------------------------------- |
| 125 | PERM Type Instance Action |
| 126 | -------------------------------------------------------------------------------- |
| 127 | com.att.TC_Wild.@[THE_USER].access * * |
| 128 | com.att.TC_Wild.@[THE_USER].access * read |
| 129 | com.att.TC_Wild.@[THE_USER].access :perm:myType:*:* write |
| 130 | com.att.TC_Wild.@[THE_USER].myType myInstance myAction |
| 131 | |
| 132 | |
| 133 | # TC_Wild.21.10.POS Delete Perms Created |
| 134 | force perm delete com.att.TC_Wild.@[user.name].access :perm:myType:*:* write |
| 135 | ** Expect 200 ** |
| 136 | Deleted Permission |
| 137 | |
| 138 | force perm delete com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 139 | ** Expect 200 ** |
| 140 | Deleted Permission |
| 141 | |
| 142 | as m99999@@[THE_USER].TC_Wild.att.com |
| 143 | # TC_Wild.30.1.NEG Fail to create a role in NS |
| 144 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 145 | ** Expect 403 ** |
| 146 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Role [com.att.TC_Wild.@[THE_USER].tool.myRole] |
| 147 | |
| 148 | # TC_Wild.30.3.POS Add "access role" based Wild Card with specific Action |
| 149 | as XX@NS |
| 150 | perm create com.att.TC_Wild.@[user.name].access :role:tool.* write com.att.TC_Wild.@[user.name].service |
| 151 | ** Expect 201 ** |
| 152 | Created Permission |
| 153 | Granted Permission [com.att.TC_Wild.@[THE_USER].access|:role:tool.*|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 154 | |
| 155 | # TC_Wild.30.5.POS Print Perms |
| 156 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 157 | ** Expect 200 ** |
| 158 | |
| 159 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 160 | -------------------------------------------------------------------------------- |
| 161 | PERM Type Instance Action |
| 162 | -------------------------------------------------------------------------------- |
| 163 | com.att.TC_Wild.@[THE_USER].access :role:tool.* write |
| 164 | |
| 165 | |
| 166 | # TC_Wild.30.7.POS Now able to create a role in NS |
| 167 | as m99999@@[THE_USER].TC_Wild.att.com |
| 168 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 169 | ** Expect 201 ** |
| 170 | Created Role |
| 171 | |
| 172 | # TC_Wild.30.8.POS Print Perms |
| 173 | as XX@NS |
| 174 | role list ns com.att.TC_Wild.@[user.name] |
| 175 | ** Expect 200 ** |
| 176 | |
| 177 | List Roles by NS [com.att.TC_Wild.@[THE_USER]] |
| 178 | -------------------------------------------------------------------------------- |
| 179 | ROLE Name |
| 180 | PERM Type Instance Action |
| 181 | -------------------------------------------------------------------------------- |
| 182 | com.att.TC_Wild.@[THE_USER].admin |
| 183 | com.att.TC_Wild.@[THE_USER].access * * |
| 184 | com.att.TC_Wild.@[THE_USER].owner |
| 185 | com.att.TC_Wild.@[THE_USER].access * read |
| 186 | com.att.TC_Wild.@[THE_USER].service |
| 187 | com.att.TC_Wild.@[THE_USER].access :role:tool.* write |
| 188 | com.att.TC_Wild.@[THE_USER].tool.myRole |
| 189 | |
| 190 | # TC_Wild.30.10.POS Delete Perms Created |
| 191 | force perm delete com.att.TC_Wild.@[user.name].access :role:tool.* write |
| 192 | ** Expect 200 ** |
| 193 | Deleted Permission |
| 194 | |
| 195 | force role delete com.att.TC_Wild.@[user.name].tool.myRole |
| 196 | ** Expect 200 ** |
| 197 | Deleted Role |
| 198 | |
| 199 | as m99999@@[THE_USER].TC_Wild.att.com |
| 200 | # TC_Wild.31.1.NEG Fail to create a role in NS |
| 201 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 202 | ** Expect 403 ** |
| 203 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Role [com.att.TC_Wild.@[THE_USER].tool.myRole] |
| 204 | |
| 205 | # TC_Wild.31.3.POS Add "access role" based Wild Card with specific Action |
| 206 | as XX@NS |
| 207 | perm create com.att.TC_Wild.@[user.name].access :role:* write com.att.TC_Wild.@[user.name].service |
| 208 | ** Expect 201 ** |
| 209 | Created Permission |
| 210 | Granted Permission [com.att.TC_Wild.@[THE_USER].access|:role:*|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 211 | |
| 212 | # TC_Wild.31.5.POS Print Perms |
| 213 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 214 | ** Expect 200 ** |
| 215 | |
| 216 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 217 | -------------------------------------------------------------------------------- |
| 218 | PERM Type Instance Action |
| 219 | -------------------------------------------------------------------------------- |
| 220 | com.att.TC_Wild.@[THE_USER].access :role:* write |
| 221 | |
| 222 | |
| 223 | # TC_Wild.31.7.POS Now able to create a role in NS |
| 224 | as m99999@@[THE_USER].TC_Wild.att.com |
| 225 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 226 | ** Expect 201 ** |
| 227 | Created Role |
| 228 | |
| 229 | # TC_Wild.31.8.POS Print Perms |
| 230 | as XX@NS |
| 231 | role list ns com.att.TC_Wild.@[user.name] |
| 232 | ** Expect 200 ** |
| 233 | |
| 234 | List Roles by NS [com.att.TC_Wild.@[THE_USER]] |
| 235 | -------------------------------------------------------------------------------- |
| 236 | ROLE Name |
| 237 | PERM Type Instance Action |
| 238 | -------------------------------------------------------------------------------- |
| 239 | com.att.TC_Wild.@[THE_USER].admin |
| 240 | com.att.TC_Wild.@[THE_USER].access * * |
| 241 | com.att.TC_Wild.@[THE_USER].owner |
| 242 | com.att.TC_Wild.@[THE_USER].access * read |
| 243 | com.att.TC_Wild.@[THE_USER].service |
| 244 | com.att.TC_Wild.@[THE_USER].access :role:* write |
| 245 | com.att.TC_Wild.@[THE_USER].tool.myRole |
| 246 | |
| 247 | # TC_Wild.31.10.POS Delete Perms Created |
| 248 | force perm delete com.att.TC_Wild.@[user.name].access :role:* write |
| 249 | ** Expect 200 ** |
| 250 | Deleted Permission |
| 251 | |
| 252 | force role delete com.att.TC_Wild.@[user.name].tool.myRole |
| 253 | ** Expect 200 ** |
| 254 | Deleted Role |
| 255 | |
| 256 | as m99999@@[THE_USER].TC_Wild.att.com |
| 257 | # TC_Wild.32.1.NEG Fail to create a role in NS |
| 258 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 259 | ** Expect 403 ** |
| 260 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Role [com.att.TC_Wild.@[THE_USER].tool.myRole] |
| 261 | |
| 262 | # TC_Wild.32.3.POS Add "access role" based Wild Card with specific Action |
| 263 | as XX@NS |
| 264 | perm create com.att.TC_Wild.@[user.name].access :role:* * com.att.TC_Wild.@[user.name].service |
| 265 | ** Expect 201 ** |
| 266 | Created Permission |
| 267 | Granted Permission [com.att.TC_Wild.@[THE_USER].access|:role:*|*] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 268 | |
| 269 | # TC_Wild.32.5.POS Print Perms |
| 270 | as m99999@@[THE_USER].TC_Wild.att.com |
| 271 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 272 | ** Expect 200 ** |
| 273 | |
| 274 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 275 | -------------------------------------------------------------------------------- |
| 276 | PERM Type Instance Action |
| 277 | -------------------------------------------------------------------------------- |
| 278 | com.att.TC_Wild.@[THE_USER].access :role:* * |
| 279 | |
| 280 | |
| 281 | # TC_Wild.32.7.POS Now able to create a role in NS |
| 282 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 283 | ** Expect 201 ** |
| 284 | Created Role |
| 285 | |
| 286 | # TC_Wild.32.8.POS May Print Role |
| 287 | role list role com.att.TC_Wild.@[user.name].tool.myRole |
| 288 | ** Expect 200 ** |
| 289 | |
| 290 | List Roles for Role[com.att.TC_Wild.@[THE_USER].tool.myRole] |
| 291 | -------------------------------------------------------------------------------- |
| 292 | ROLE Name |
| 293 | PERM Type Instance Action |
| 294 | -------------------------------------------------------------------------------- |
| 295 | com.att.TC_Wild.@[THE_USER].tool.myRole |
| 296 | |
| 297 | as XX@NS |
| 298 | # TC_Wild.32.10.POS Delete Perms Created |
| 299 | force perm delete com.att.TC_Wild.@[user.name].access :role:* * |
| 300 | ** Expect 200 ** |
| 301 | Deleted Permission |
| 302 | |
| 303 | force role delete com.att.TC_Wild.@[user.name].tool.myRole |
| 304 | ** Expect 200 ** |
| 305 | Deleted Role |
| 306 | |
| 307 | as m99999@@[THE_USER].TC_Wild.att.com |
| 308 | # TC_Wild.50.1.NEG Fail to create a perm in NS |
| 309 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 310 | ** Expect 403 ** |
| 311 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Perm [com.att.TC_Wild.@[THE_USER].myType|myInstance|myAction] |
| 312 | |
| 313 | # TC_Wild.50.3.POS Add "access perm" based Wild Card with specific Action |
| 314 | as XX@NS |
| 315 | perm create com.att.aaf.ns :com.att.*:perm:myType:*:* write com.att.TC_Wild.@[user.name].service |
| 316 | ** Expect 201 ** |
| 317 | Created Permission |
| 318 | Granted Permission [com.att.aaf.ns|:com.att.*:perm:myType:*:*|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 319 | |
| 320 | # TC_Wild.50.5.POS Print Perms |
| 321 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 322 | ** Expect 200 ** |
| 323 | |
| 324 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 325 | -------------------------------------------------------------------------------- |
| 326 | PERM Type Instance Action |
| 327 | -------------------------------------------------------------------------------- |
| 328 | com.att.aaf.ns :com.att.*:perm:myType:*:* write |
| 329 | |
| 330 | |
| 331 | # TC_Wild.50.7.POS Now able to create a perm in NS |
| 332 | as m99999@@[THE_USER].TC_Wild.att.com |
| 333 | perm create com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 334 | ** Expect 201 ** |
| 335 | Created Permission |
| 336 | |
| 337 | # TC_Wild.50.8.POS Print Perms |
| 338 | as XX@NS |
| 339 | perm list ns com.att.TC_Wild.@[user.name] |
| 340 | ** Expect 200 ** |
| 341 | |
| 342 | List Perms by NS [com.att.TC_Wild.@[THE_USER]] |
| 343 | -------------------------------------------------------------------------------- |
| 344 | PERM Type Instance Action |
| 345 | -------------------------------------------------------------------------------- |
| 346 | com.att.TC_Wild.@[THE_USER].access * * |
| 347 | com.att.TC_Wild.@[THE_USER].access * read |
| 348 | com.att.TC_Wild.@[THE_USER].myType myInstance myAction |
| 349 | |
| 350 | |
| 351 | # TC_Wild.50.10.POS Delete Perms Created |
| 352 | force perm delete com.att.aaf.ns :com.att.*:perm:myType:*:* write |
| 353 | ** Expect 200 ** |
| 354 | Deleted Permission |
| 355 | |
| 356 | force perm delete com.att.TC_Wild.@[user.name].myType myInstance myAction |
| 357 | ** Expect 200 ** |
| 358 | Deleted Permission |
| 359 | |
| 360 | as m99999@@[THE_USER].TC_Wild.att.com |
| 361 | # TC_Wild.51.1.NEG Fail to create a role in NS |
| 362 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 363 | ** Expect 403 ** |
| 364 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write Role [com.att.TC_Wild.@[THE_USER].tool.myRole] |
| 365 | |
| 366 | # TC_Wild.51.3.POS Add "access role" based Wild Card with specific Action |
| 367 | as XX@NS |
| 368 | perm create com.att.aaf.ns :com.att.*:role:tool.* write com.att.TC_Wild.@[user.name].service |
| 369 | ** Expect 201 ** |
| 370 | Created Permission |
| 371 | Granted Permission [com.att.aaf.ns|:com.att.*:role:tool.*|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 372 | |
| 373 | # TC_Wild.51.5.POS Print Perms |
| 374 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 375 | ** Expect 200 ** |
| 376 | |
| 377 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 378 | -------------------------------------------------------------------------------- |
| 379 | PERM Type Instance Action |
| 380 | -------------------------------------------------------------------------------- |
| 381 | com.att.aaf.ns :com.att.*:role:tool.* write |
| 382 | |
| 383 | |
| 384 | # TC_Wild.51.7.POS Now able to create a role in NS |
| 385 | as m99999@@[THE_USER].TC_Wild.att.com |
| 386 | role create com.att.TC_Wild.@[user.name].tool.myRole |
| 387 | ** Expect 201 ** |
| 388 | Created Role |
| 389 | |
| 390 | # TC_Wild.51.8.POS Print Perms |
| 391 | as XX@NS |
| 392 | role list ns com.att.TC_Wild.@[user.name] |
| 393 | ** Expect 200 ** |
| 394 | |
| 395 | List Roles by NS [com.att.TC_Wild.@[THE_USER]] |
| 396 | -------------------------------------------------------------------------------- |
| 397 | ROLE Name |
| 398 | PERM Type Instance Action |
| 399 | -------------------------------------------------------------------------------- |
| 400 | com.att.TC_Wild.@[THE_USER].admin |
| 401 | com.att.TC_Wild.@[THE_USER].access * * |
| 402 | com.att.TC_Wild.@[THE_USER].owner |
| 403 | com.att.TC_Wild.@[THE_USER].access * read |
| 404 | com.att.TC_Wild.@[THE_USER].service |
| 405 | com.att.aaf.ns :com.att.*:role:tool.* write |
| 406 | com.att.TC_Wild.@[THE_USER].tool.myRole |
| 407 | |
| 408 | # TC_Wild.51.10.POS Delete Perms Created |
| 409 | force perm delete com.att.aaf.ns :com.att.*:role:tool.* write |
| 410 | ** Expect 200 ** |
| 411 | Deleted Permission |
| 412 | |
| 413 | force role delete com.att.TC_Wild.@[user.name].tool.myRole |
| 414 | ** Expect 200 ** |
| 415 | Deleted Role |
| 416 | |
| 417 | as m99999@@[THE_USER].TC_Wild.att.com |
| 418 | # TC_Wild.52.1.NEG Fail to create a NS |
| 419 | ns create com.test.TC_Wild.@[user.name] @[user.name] testid@aaf.att.com |
| 420 | ** Expect 403 ** |
| 421 | Failed [SVC1403]: Forbidden - [m99999@@[THE_USER].TC_Wild.att.com] may not write in NS [com.test] |
| 422 | |
| 423 | # TC_Wild.52.3.POS Add "access role" based Wild Card with specific Action |
| 424 | as XX@NS |
| 425 | perm create com.att.aaf.ns :com.test:ns write com.att.TC_Wild.@[user.name].service |
| 426 | ** Expect 201 ** |
| 427 | Created Permission |
| 428 | Granted Permission [com.att.aaf.ns|:com.test:ns|write] to Role [com.att.TC_Wild.@[THE_USER].service] |
| 429 | |
| 430 | # TC_Wild.52.5.POS Print Perms |
| 431 | perm list user m99999@@[user.name].TC_Wild.att.com |
| 432 | ** Expect 200 ** |
| 433 | |
| 434 | List Permissions by User[m99999@@[THE_USER].TC_Wild.att.com] |
| 435 | -------------------------------------------------------------------------------- |
| 436 | PERM Type Instance Action |
| 437 | -------------------------------------------------------------------------------- |
| 438 | com.att.aaf.ns :com.test:ns write |
| 439 | |
| 440 | |
| 441 | # TC_Wild.52.7.POS Now able to create an NS |
| 442 | as m99999@@[THE_USER].TC_Wild.att.com |
| 443 | ns create com.test.TC_Wild.@[user.name] @[user.name] testid@aaf.att.com |
| 444 | ** Expect 201 ** |
| 445 | Created Namespace |
| 446 | |
| 447 | # TC_Wild.52.8.POS Print Perms |
| 448 | as XX@NS |
| 449 | ns list name com.test.TC_Wild.@[user.name] |
| 450 | ** Expect 200 ** |
| 451 | |
| 452 | List Namespaces by Name[com.test.TC_Wild.@[THE_USER]] |
| 453 | -------------------------------------------------------------------------------- |
| 454 | com.test.TC_Wild.@[THE_USER] |
| 455 | Administrators |
| 456 | testid@aaf.att.com |
| 457 | Responsible Parties |
| 458 | @[THE_USER]@csp.att.com |
| 459 | Roles |
| 460 | com.test.TC_Wild.@[THE_USER].admin |
| 461 | com.test.TC_Wild.@[THE_USER].owner |
| 462 | Permissions |
| 463 | com.test.TC_Wild.@[THE_USER].access * * |
| 464 | com.test.TC_Wild.@[THE_USER].access * read |
| 465 | |
| 466 | # TC_Wild.52.10.POS Delete Perms Created |
| 467 | force perm delete com.att.aaf.ns :com.test:ns write |
| 468 | ** Expect 200 ** |
| 469 | Deleted Permission |
| 470 | |
| 471 | force ns delete com.test.TC_Wild.@[user.name] |
| 472 | ** Expect 200 ** |
| 473 | Deleted Namespace |
| 474 | |
| 475 | as XX@NS |
| 476 | # TC_Wild.99.80.POS Cleanup |
| 477 | force perm delete com.att.aaf.ns :com.att.*:perm:*:* write |
| 478 | ** Expect 200,404 ** |
| 479 | Failed [SVC4404]: Not Found - Permission [com.att.aaf.ns|:com.att.*:perm:*:*|write] does not exist |
| 480 | |
| 481 | # TC_Wild.99.81.POS Cleanup |
| 482 | force perm delete com.att.aaf.ns :com.att.*:perm:*:* * |
| 483 | ** Expect 200,404 ** |
| 484 | Failed [SVC4404]: Not Found - Permission [com.att.aaf.ns|:com.att.*:perm:*:*|*] does not exist |
| 485 | |
| 486 | # TC_Wild.99.82.POS Cleanup |
| 487 | force perm delete com.att.aaf.ns :com.att.*:role:* write |
| 488 | ** Expect 200,404 ** |
| 489 | Failed [SVC4404]: Not Found - Permission [com.att.aaf.ns|:com.att.*:role:*|write] does not exist |
| 490 | |
| 491 | # TC_Wild.99.83.POS Cleanup |
| 492 | force perm delete com.att.aaf.ns :com.test:ns write |
| 493 | ** Expect 200,404 ** |
| 494 | Failed [SVC4404]: Not Found - Permission [com.att.aaf.ns|:com.test:ns|write] does not exist |
| 495 | |
| 496 | # TC_Wild.99.90.POS Cleanup |
| 497 | force ns delete com.test.TC_Wild.@[user.name] |
| 498 | ** Expect 200,404 ** |
| 499 | Failed [SVC2404]: Not Found - com.test.TC_Wild.@[THE_USER] does not exist |
| 500 | |
| 501 | # TC_Wild.99.91.POS Cleanup |
| 502 | force ns delete com.att.TC_Wild.@[user.name] |
| 503 | ** Expect 200,404 ** |
| 504 | Deleted Namespace |
| 505 | |
| 506 | # TC_Wild.99.99.POS List to prove clean Namespaces |
| 507 | ns list name com.att.TC_Wild.@[user.name] |
| 508 | ** Expect 200,404 ** |
| 509 | |
| 510 | List Namespaces by Name[com.att.TC_Wild.@[THE_USER]] |
| 511 | -------------------------------------------------------------------------------- |
| 512 | *** Namespace Not Found *** |
| 513 | |
| 514 | ns list name com.test.TC_Wild.@[user.name] |
| 515 | ** Expect 200,404 ** |
| 516 | |
| 517 | List Namespaces by Name[com.test.TC_Wild.@[THE_USER]] |
| 518 | -------------------------------------------------------------------------------- |
| 519 | *** Namespace Not Found *** |
| 520 | |