Confusion between roles and domains

Bug #1379883 reported by Anne Gentle on 2014-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Medium
Shane Gleeson

Bug Description

Reported on ask.openstack.org.

Roles section mentions following APIs :

PUT /v3/domains/​{domain_id}​/users/​{user_id}​/roles/​{role_id}​ Grant role to domain user

HEAD /v3/domains/​{domain_id}​/users/​{user_id}​/roles/​{role_id}​ Check role for domain user

DELETE /v3/domains/​{domain_id}​/users/​{user_id}​/roles/​{role_id}​ Revoke role from domain user

In my opinion these should be under Domains section because :

1) main url is /v3/domains 2) groups functionality with roles is under Domains : /v3/domains/​{domain_id}​/groups/​{group_id}​/roles/​{role_id}​ ( PUT,HEAD,DELETE - same thing as users, does not make any sense why one functionality is under Roles and the other under Domains)

Anne Gentle (annegentle) on 2014-10-10
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
tags: added: identity-api keystone
Changed in openstack-api-site:
assignee: nobody → Shane Gleeson (shane-gleeson)

Fix proposed to branch: master
Review: https://review.openstack.org/154484

Changed in openstack-api-site:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/154484
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=d295a15851d5bd045d5ef1afee06b5511ba11474
Submitter: Jenkins
Branch: master

commit d295a15851d5bd045d5ef1afee06b5511ba11474
Author: Shane Gleeson <email address hidden>
Date: Tue Feb 10 13:57:35 2015 +0000

    Fix bug #1379883 Confusion between roles and domains

    Moved Grant, Check and Revoke role for domain user to the domain section of the api-ref instead of the role section. This keeps everything consistent.

    Change-Id: I67b3aa53305cd8fa35166bf46dbb2c3e60178b49
    Closes-Bug: #1379883

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers