Register default policies in code

Registered by chenying

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. Now policy-in-code is one goal of queens[1].
[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html

Blueprint information

Status:
Complete
Approver:
chenying
Priority:
Medium
Drafter:
chenying
Direction:
Needs approval
Assignee:
chenying
Definition:
New
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-ms
Started by
chenying
Completed by
chenying

Related branches

Sprints

Whiteboard

queens

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

Addressed by: https://review.openstack.org/492143
    Implement policies in code

Addressed by: https://review.openstack.org/507328
    Add default policy in code for the plan resource

Addressed by: https://review.openstack.org/507511
    Add default policy in code for the restore resource

Addressed by: https://review.openstack.org/507786
    Add default policy in code for the protectable resource

Addressed by: https://review.openstack.org/507811
    Add default policy in code for the provider resource

Addressed by: https://review.openstack.org/508096
    Add default policy in code for the trigger resource

Addressed by: https://review.openstack.org/508124
    Add default policy in code for the scheduled operation resource

Addressed by: https://review.openstack.org/508395
    Add default policy in code for the operation log resource

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.