Register default policies in code

Registered by Hieu LE on 2017-10-03

oslo.policy now supports handling policies in a way similar to how oslo.config handles config options. The main benefit would be operators only need to keep in the local policy.json file rules that a different from default ones, making the policy.json file smaller and more manageble.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Hieu LE
Direction:
Approved
Assignee:
Hieu LE
Definition:
Approved
Series goal:
Proposed for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-1
Started by
yatin on 2017-10-18
Completed by
Hieu LE on 2017-10-23

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/policy-in-code,n,z

Addressed by: https://review.openstack.org/509144
    Implement basic policy module in code

Gerrit topic: https://review.openstack.org/#q,topic:policy-and-docs-in-code,n,z

Addressed by: https://review.openstack.org/509351
    Register default bay policies in code

Addressed by: https://review.openstack.org/509354
    Register default baymodel policies in code

Addressed by: https://review.openstack.org/509357
    Register default cluster policies in code

Addressed by: https://review.openstack.org/509361
    Register default cluster template policies in code

Addressed by: https://review.openstack.org/509365
    Register default quota policies in code

Addressed by: https://review.openstack.org/509369
    Register default certificate policies in code

Addressed by: https://review.openstack.org/509374
    Register default zun service and stat policies in code

Addressed by: https://review.openstack.org/510026
    Add sample policy configuration to doc

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.