
This commmit completes RBAC coverage for Shipyard Document Staging API, for the APIs noted here [0]. For now, the goal is to meet the first use-case of this plugin, which is to test RBAC for Shipyard. With this in mind, for RBAC testing, we only care if a role has permission to an API in question. Therefore, some of the more complex APIs are 'short circuit' tests - meaning only RBAC permissions are checked and other expections are ignored. [0] http://airship-shipyard.readthedocs.io/en/latest/API.html#document-staging-api
29 lines
500 B
YAML
29 lines
500 B
YAML
shipyard:
|
|
get_actions:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|
|
get_configdocs:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|
|
get_workflows:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|
|
post_configdocs:
|
|
- admin
|
|
- admin_ucp
|
|
get_configdocs_within_collection:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|
|
get_renderedconfigdocs:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|
|
post_commitconfigdocs:
|
|
- admin
|
|
- admin_ucp
|
|
- admin_ucp_viewer
|