Implementing test coverage for Glance v2 RBAC

Registered by Luke Wollney

This is a blueprint for implementing test coverage for the glance v2 API RBAC.

API Doc: Not available

Blueprints to be referred to:

In scope: smoke, functional, system integration, whitebox tests

Out of scope: performance, stress, scale

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Luke Wollney
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Notes about the tasks/tests below:
  - All tests determined to be "INVALID" have been removed
  - All tasks/tests are currently assigned to luke-wollney, but will be changed as tasks are picked up

Gerrit topic: https://review.openstack.org/#q,topic:glance-api-v2-rbac-tests,n,z

Addressed by: https://review.openstack.org/54148
    Add template for rbac test

Addressed by: https://review.openstack.org/54538
    Removing rbac tests from cloudroast

(?)

Work Items

Work items:
[luke-wollney] Get images schema as Admin: TODO
[luke-wollney] High - Get images schema as Creator: TODO
[luke-wollney] Essential - Get images schema as Observer: TODO
[luke-wollney] Get images schema as Global Admin: TODO
[luke-wollney] Get images schema as Global Observer: TODO
[luke-wollney] Get images schema as Glance Admin: TODO
[luke-wollney] Get images schema as Identity Admin: TODO
[luke-wollney] Get image schema as Admin: TODO
[luke-wollney] High - Get image schema as Creator: TODO
[luke-wollney] Essential - Get image schema as Observer: TODO
[luke-wollney] Get image schema as Global Admin: TODO
[luke-wollney] Get image schema as Global Observer: TODO
[luke-wollney] Get image schema as Glance Admin: TODO
[luke-wollney] Get image schema as Identity Admin: TODO
[luke-wollney] Get image members schema as Admin: TODO
[luke-wollney] High - Get image members schema as Creator: TODO
[luke-wollney] Essential - Get image members schema as Observer: TODO
[luke-wollney] Get image members schema as Global Admin: TODO
[luke-wollney] Get image members schema as Global Observer: TODO
[luke-wollney] Get image members schema as Glance Admin: TODO
[luke-wollney] Get image members schema as Identity Admin: TODO
[luke-wollney] Get image member schema as Admin: TODO
[luke-wollney] High - Get image member schema as Creator: TODO
[luke-wollney] Essential - Get image member schema as Observer: TODO
[luke-wollney] Get image member schema as Global Admin: TODO
[luke-wollney] Get image member schema as Global Observer: TODO
[luke-wollney] Get image member schema as Glance Admin: TODO
[luke-wollney] Get image member schema as Identity Admin: TODO
[luke-wollney] Essential - Create an image as Admin: TODO
[luke-wollney] Essential - Create an image as Creator: TODO
[luke-wollney] Essential - Create an image as Observer: TODO
[luke-wollney] Essential - Create an image as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Essential - Create an image as Global Admin: TODO
[luke-wollney] Essential - Create an image as Global Observer: TODO
[luke-wollney] Essential - Create an image as Glance Admin: TODO
[luke-wollney] Essential - Create an image as Identity Admin: TODO
[luke-wollney] Update an image as Admin: TODO
[luke-wollney] Essential - Update an image as Creator: TODO
[luke-wollney] Essential - Update an image as Observer: TODO
[luke-wollney] Update an image as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Update an image as Global Admin: TODO
[luke-wollney] Essential - Update an image as Global Observer: TODO
[luke-wollney] Update an image as Glance Admin: TODO
[luke-wollney] Update an image as Identity Admin: TODO
[luke-wollney] High - Update an image as Global Admin / Observer: TODO
[luke-wollney] High - Update an image as Global Admin / Creator: TODO
[luke-wollney] High - Update an image as Global Observer / Admin: TODO
[luke-wollney] High - Update an image as Global Observer / Creator: TODO
[luke-wollney] Add an image tag as Admin: TODO
[luke-wollney] High - Add an image tag as Creator: TODO
[luke-wollney] Essential - Add an image tag as Observer: TODO
[luke-wollney] Add an image tag as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Add an image tag as Global Admin: TODO
[luke-wollney] Essential - Add an image tag as Global Observer: TODO
[luke-wollney] Add an image tag as Glance Admin: TODO
[luke-wollney] Add an image tag as Identity Admin: TODO
[luke-wollney] High - Add an image tag as Global Admin / Observer: TODO
[luke-wollney] High - Add an image tag as Global Admin / Creator: TODO
[luke-wollney] High - Add an image tag as Global Observer / Admin: TODO
[luke-wollney] High - Add an image tag as Global Observer / Creator: TODO
[luke-wollney] Delete an image tag as Admin: TODO
[luke-wollney] Essential - Delete an image tag as Creator: TODO
[luke-wollney] Essential - Delete an image tag as Observer: TODO
[luke-wollney] Delete an image tag as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Delete an image tag as Global Admin: TODO
[luke-wollney] Essential - Delete an image tag as Global Observer: TODO
[luke-wollney] Delete an image tag as Glance Admin: TODO
[luke-wollney] Delete an image tag as Identity Admin: TODO
[luke-wollney] High - Delete an image tag as Global Admin / Observer: TODO
[luke-wollney] High - Delete an image tag as Global Admin / Creator: TODO
[luke-wollney] High - Delete an image tag as Global Observer / Admin: TODO
[luke-wollney] High - Delete an image tag as Global Observer / Creator: TODO
[luke-wollney] List all images as Admin: TODO
[luke-wollney] High - List all images as Creator: TODO
[luke-wollney] Essential - List all images as Observer: TODO
[luke-wollney] List all images as Admin, Creator, and Observer of another account: TODO
[luke-wollney] List all images as Global Admin: TODO
[luke-wollney] List all images as Global Observer: TODO
[luke-wollney] List all images as Glance Admin: TODO
[luke-wollney] List all images as Identity Admin: TODO
[luke-wollney] Get an image as Admin: TODO
[luke-wollney] High - Get an image as Creator: TODO
[luke-wollney] Essential - Get an image as Observer: TODO
[luke-wollney] Get an image as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Get an image as Global Admin: TODO
[luke-wollney] Get an image as Global Observer: TODO
[luke-wollney] Get an image as Glance Admin: TODO
[luke-wollney] Get an image as Identity Admin: TODO
[luke-wollney] Delete an image as Admin: TODO
[luke-wollney] Essential - Delete an image as Creator: TODO
[luke-wollney] Essential - Delete an image as Observer: TODO
[luke-wollney] Delete an image as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Delete an image as Global Admin: TODO
[luke-wollney] Essential - Delete an image as Global Observer: TODO
[luke-wollney] Delete an image as Glance Admin: TODO
[luke-wollney] Delete an image as Identity Admin: TODO
[luke-wollney] High - Delete an image as Global Admin / Observer: TODO
[luke-wollney] High - Delete an image as Global Admin / Creator: TODO
[luke-wollney] High - Delete an image as Global Observer / Admin: TODO
[luke-wollney] High - Delete an image as Global Observer / Creator: TODO
[luke-wollney] Essential - Store image file as Admin: TODO
[luke-wollney] Essential - Store image file as Creator: TODO
[luke-wollney] Essential - Store image file as Observer: TODO
[luke-wollney] Essential - Store image file as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Essential - Store image file as Global Admin: TODO
[luke-wollney] Essential - Store image file as Global Observer: TODO
[luke-wollney] Essential - Store image file as Glance Admin: TODO
[luke-wollney] Essential - Store image file as Identity Admin: TODO
[luke-wollney] Essential - Get image file as Admin: TODO
[luke-wollney] Essential - Get image file as Creator: TODO
[luke-wollney] Essential - Get image file as Observer: TODO
[luke-wollney] Essential - Get image file as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Essential - Get image file as Global Admin: TODO
[luke-wollney] Essential - Get image file as Global Observer: TODO
[luke-wollney] Essential - Get image file as Glance Admin: TODO
[luke-wollney] Essential - Get image file as Identity Admin: TODO
[luke-wollney] List image members as Admin: TODO
[luke-wollney] High - List image members as Creator: TODO
[luke-wollney] Essential - List image members as Observer: TODO
[luke-wollney] List image members as Admin, Creator, and Observer of another account: TODO
[luke-wollney] List image members as Global Admin: TODO
[luke-wollney] List image members as Global Observer: TODO
[luke-wollney] List image members as Glance Admin: TODO
[luke-wollney] List image members as Identity Admin: TODO
[luke-wollney] Create image member as Admin: TODO
[luke-wollney] High - Create image member as Creator: TODO
[luke-wollney] Essential - Create image member as Observer: TODO
[luke-wollney] Create image member as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Create image member as Global Admin: TODO
[luke-wollney] Essential - Create image member as Global Observer: TODO
[luke-wollney] Create image member as Glance Admin: TODO
[luke-wollney] Create image member as Identity Admin: TODO
[luke-wollney] High - Create image member as  Global Admin / Observer: TODO
[luke-wollney] High - Create image member as Global Admin / Creator: TODO
[luke-wollney] High - Create image member as  Global Observer / Admin: TODO
[luke-wollney] High - Create image member as  Global Observer / Creator: TODO
[luke-wollney] Delete image member as Admin: TODO
[luke-wollney] Essential - Delete image member as Creator: TODO
[luke-wollney] Essential - Delete image member as Observer: TODO
[luke-wollney] Delete image member as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Delete image member as Global Admin: TODO
[luke-wollney] Essential - Delete image member as Global Observer: TODO
[luke-wollney] Delete image member as Glance Admin: TODO
[luke-wollney] Delete image member as Identity Admin: TODO
[luke-wollney] High - Delete image member as Global Admin / Observer: TODO
[luke-wollney] High - Delete image member as Global Admin / Creator: TODO
[luke-wollney] High - Delete image member as Global Observer / Admin: TODO
[luke-wollney] High - Delete image member as Global Observer / Creator: TODO
[luke-wollney] Update member status as Admin: TODO
[luke-wollney] Essential - Update member status as Creator: TODO
[luke-wollney] Essential - Update member status as Observer: TODO
[luke-wollney] Update member status as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Update member status as Global Admin: TODO
[luke-wollney] Essential - Update member status as Global Observer: TODO
[luke-wollney] Update member status as Glance Admin: TODO
[luke-wollney] Update member status as Identity Admin: TODO
[luke-wollney] High - Update member status as Global Admin / Observer: TODO
[luke-wollney] High - Update member status as Global Admin / Creator: TODO
[luke-wollney] High - Update member status as Global Observer / Admin: TODO
[luke-wollney] High - Update member status as Global Observer / Creator: TODO
[luke-wollney] Get task schema as Admin: TODO
[luke-wollney] High - Get task schema as Creator: TODO
[luke-wollney] Essential - Get task schema as Observer: TODO
[luke-wollney] Get task schema as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Get task schema as Global Admin: TODO
[luke-wollney] Get task schema as Global Observer: TODO
[luke-wollney] Get task schema as Glance Admin: TODO
[luke-wollney] Get task schema as Identity Admin: TODO
[luke-wollney] Get tasks schema as Admin: TODO
[luke-wollney] High - Get tasks schema as Creator: TODO
[luke-wollney] Essential - Get tasks schema as Observer: TODO
[luke-wollney] Get tasks schema as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Get tasks schema as Global Admin: TODO
[luke-wollney] Get tasks schema as Global Observer: TODO
[luke-wollney] Get tasks schema as Glance Admin: TODO
[luke-wollney] Get tasks schema as Identity Admin: TODO
[luke-wollney] List tasks as Admin: TODO
[luke-wollney] High - List tasks as Creator: TODO
[luke-wollney] Essential - List tasks as Observer: TODO
[luke-wollney] List tasks as Admin, Creator, and Observer of another account: TODO
[luke-wollney] List tasks as Global Admin: TODO
[luke-wollney] List tasks as Global Observer: TODO
[luke-wollney] List tasks as Glance Admin: TODO
[luke-wollney] List tasks as Identity Admin: TODO
[luke-wollney] Create a task as Admin: TODO
[luke-wollney] High - Create a task as Creator: TODO
[luke-wollney] Essential - Create a task as Observer: TODO
[luke-wollney] Create a task as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Create a task as Global Admin: TODO
[luke-wollney] Essential - Create a task as Global Observer: TODO
[luke-wollney] Create a task as Glance Admin: TODO
[luke-wollney] Create a task as Identity Admin: TODO
[luke-wollney] High - Create a task as Global Admin / Observer: TODO
[luke-wollney] High - Create a task as Global Admin / Creator: TODO
[luke-wollney] High - Create a task as Global Observer / Admin: TODO
[luke-wollney] High - Create a task as Global Observer / Creator: TODO
[luke-wollney] Get a task as Admin: TODO
[luke-wollney] High - Get a task as Creator: TODO
[luke-wollney] Essential - Get a task as Observer: TODO
[luke-wollney] Get a task as Admin, Creator, and Observer of another account: TODO
[luke-wollney] Get a task as Global Admin: TODO
[luke-wollney] Get a task as Global Observer: TODO
[luke-wollney] Get a task as Glance Admin: TODO
[luke-wollney] Get a task as Identity Admin: TODO

This blueprint contains Public information 
Everyone can see this information.