cfae79cfee
Currently when the command to generate a policy file is used, it will generate a yaml based file, but call it json.sample.policy. This patch forces it to generate a json file, and changes the default name to policy.json.sample. Change-Id: I4d04f4f37385bd4601f566238aaba43dcbe74780 |
||
---|---|---|
.. | ||
admin_or_owner-policy.json | ||
octavia-policy-generator.conf | ||
README.rst |
Octavia Sample Policy Files
The sample policy.json files described here can be copied into /etc/octavia/policy.json to override the default RBAC policy for Octavia.
admin_or_owner-policy.json
This policy file disables the requirement for load-balancer service users to have one of the load-balancer:* roles. It provides a similar policy to legacy OpenStack policies where any user or admin has access to load-balancer resources that they own. Users with the admin role has access to all load-balancer resources, whether they own them or not.