Commit Graph

2 Commits

Author SHA1 Message Date
Pierre Gaxatte 522f388709 Add a policy to control the right to publish resources
This change intends to add the following policies:
- actions:publicize
- workflows:publicize

A refactor of the policy tests is included to increase the coverage.

Change-Id: I8bd637f7de63f02c63f3c304cb6f5198fc0c5f42
Closes-Bug: 1779293
2018-07-05 11:46:52 +02:00
Hieu LE c73fb88c01 Implement policy in code - workflow (10)
This commit migrate all workflow policies into code [1].

Like oslo.config, with oslo.policy, we can define all of
default rules in code base and only change some rules
via policy file. Another thing that we should use yaml
format instead of json format.

[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Co-authored-By: Dai Dang-Van <daidv@vn.fujitsu.com>

Change-Id: I8ab332abb5ebd4c67f8baf62c43ac3e9a10d7ee1
2017-11-27 02:47:42 +00:00