Missing execution public list policy

Bug #1723333 reported by Hieu LE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Undecided
Hieu LE

Bug Description

In execution API, we enforce policy 'executions:list:all_projects' [1] but in policy.json file, there are no definition for this policy. [2]

[1]. https://github.com/openstack/mistral/blob/master/mistral/api/controllers/v2/execution.py#L289
[2]. https://github.com/openstack/mistral/blob/master/etc/policy.json#L30

Hieu LE (hieulq)
Changed in mistral:
assignee: nobody → Hieu LE (hieulq)
Changed in mistral:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/511698
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=d2274af9a216ee3e29376c9c40ddd76e8dbf6eda
Submitter: Zuul
Branch: master

commit d2274af9a216ee3e29376c9c40ddd76e8dbf6eda
Author: Hieu LE <email address hidden>
Date: Fri Oct 13 11:09:39 2017 +0700

    Implement policy in code - execution (6)

    This commit migrate all execution 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 <email address hidden>
    Closes-Bug: #1723333
    Change-Id: I3e1d9f5b61d9f2511190fb810726aeb22912ad7b

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 6.0.0.0b2

This issue was fixed in the openstack/mistral 6.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.