Documentation lacking for mapping of operation policy target

Bug #1424496 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Brant Knudson

Bug Description

There's no documentation that says what the mapping is of target in the policy.json file to the operation.

For example, the policy.json has a target for "identity:get_region". This is the rule for the operation of GET /v3/regions/{region_id} . But there's no way to tell this without reading the code because there's no documentation for it.

Brant Knudson (blk-u)
Changed in keystone:
assignee: nobody → Brant Knudson (blk-u)
Changed in keystone:
status: New → In Progress
Changed in keystone:
milestone: none → kilo-rc1
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/155919
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=9e845eaae0c20d56d437b48c0dea93ce45833ee0
Submitter: Jenkins
Branch: master

commit 9e845eaae0c20d56d437b48c0dea93ce45833ee0
Author: Brant Knudson <email address hidden>
Date: Fri Feb 13 17:34:45 2015 -0600

    Document mapping of policy action to operation

    There was no documentation that showed the mapping between the
    actions in the policy file to the REST operation. The mapping is
    now shown in the sample policy.json files.

    DocImpact
    This info also needs to be in an admin guide.

    Closes-Bug: 1424496
    Change-Id: I7c973068ec1a62d39287f926b71ba61de0566f58

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
Brant Knudson (blk-u) wrote :

Reopening since the previous fix was reverted.

Changed in keystone:
status: Fix Released → In Progress
milestone: 2015.1.0 → liberty-2
Revision history for this message
Brant Knudson (blk-u) wrote :
Changed in keystone:
milestone: liberty-2 → liberty-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/168521
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=3a25da6faf9ad1aaec071f60dfd2837a36d80487
Submitter: Jenkins
Branch: master

commit 3a25da6faf9ad1aaec071f60dfd2837a36d80487
Author: Brant Knudson <email address hidden>
Date: Fri Mar 27 19:43:05 2015 -0500

    Document policy target for operation

    Adds documentation that shows the policy target for each
    operation.

    Closes-Bug: 1424496
    Change-Id: I3e526d6a3268b949c0b9876b9a7748129981d6e5

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: liberty-3 → 8.0.0
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.