4732a4dec5
Also, there were some issues with policy: * 'publicize_image' instead of 'publicize_package'; * corresponding actions have different names; * user could not upload packages by default; * user could mark package public/unpublic; * user could delete pablic packages. Change-Id: I5459016a4e7401b58fcb343e40d0047a4959b7df Closes-Bug: #1439240 Closes-Bug: #1436289
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"context_is_admin": "role:admin",
|
|
"admin_api": "is_admin:True",
|
|
"default": "",
|
|
|
|
"get_package": "rule:default",
|
|
"upload_package": "rule:default",
|
|
"modify_package": "rule:default",
|
|
"publicize_package": "rule:admin_api",
|
|
"manage_public_package": "rule:default",
|
|
"delete_package": "rule:default",
|
|
"download_package": "rule:default",
|
|
|
|
"get_category": "rule:default",
|
|
"delete_category": "rule:admin_api",
|
|
"add_category": "rule:admin_api",
|
|
|
|
"list_deployments": "rule:default",
|
|
"statuses_deployments": "rule:default",
|
|
|
|
"list_environments": "rule:default",
|
|
"show_environment": "rule:default",
|
|
"update_environment": "rule:default",
|
|
"create_environment": "rule:default",
|
|
"delete_environment": "rule:default",
|
|
|
|
"list_env_templates": "rule:default",
|
|
"create_env_template": "rule:default",
|
|
"show_env_template": "rule:default",
|
|
"update_env_template": "rule:default",
|
|
"delete_env_template": "rule:default",
|
|
|
|
"execute_action": "rule:default"
|
|
}
|
|
|