cff88e1b64
- Support oslo.policy in api layer - Add tempest test for basic qinling operation Change-Id: Icf12ee4df54652e81013e951b91163c085d961b7
11 lines
340 B
Plaintext
11 lines
340 B
Plaintext
{
|
|
"context_is_admin": "role:admin or is_admin:1",
|
|
"owner" : "project_id:%(project_id)s",
|
|
"admin_or_owner": "rule:context_is_admin or rule:owner",
|
|
"default": "rule:admin_or_owner",
|
|
|
|
"runtime:create": "rule:context_is_admin",
|
|
"runtime:update": "rule:context_is_admin",
|
|
"runtime:delete": "rule:context_is_admin",
|
|
}
|