46f0e16d11
Allow use policy in code to resource type's rule. Also add test for override the in-code resource type rule in json file. Partially-Implements: bp policy-in-code Change-Id: Id6c21732e66de6c421427ded98de52f5da0a4db2
8 lines
152 B
JSON
8 lines
152 B
JSON
{
|
|
"context_is_admin": "role:admin",
|
|
|
|
"resource_types:OS::Cinder::Quota": "!",
|
|
"resource_types:OS::Keystone::*": "rule:context_is_admin"
|
|
|
|
}
|