03767ae49c
Octavia has introduced new roles for more granular access policies. This will create those keystone roles and if the legacy parameter is set create admin or user rules which are similar what Neutron allowed before. Change-Id: I2d6b7278d7d4af2669cba7ac760dae0bc8e6f183
11 lines
447 B
Django/Jinja
11 lines
447 B
Django/Jinja
{
|
|
"context_is_admin": "role:admin or role:load-balancer_admin",
|
|
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
|
|
|
|
"load-balancer:read": "rule:admin_or_owner",
|
|
"load-balancer:read-global": "is_admin:True",
|
|
"load-balancer:write": "rule:admin_or_owner",
|
|
"load-balancer:read-quota": "rule:admin_or_owner",
|
|
"load-balancer:read-quota-global": "is_admin:True",
|
|
"load-balancer:write-quota": "is_admin:True"
|
|
} |