← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439960] [NEW] Users can be assigned the same role in a tenant by create_grant without any error message

 

Public bug reported:

Grant role to user on a project by following command:
curl -H "X-Auth_Token:$ADMIN" -X PUT  http://localhost:35357/v3/projects/2fb15258b1f44e05937070be864ed9b1/users/c6b7c33a5cfc45ba8d666b03ba29ea34/roles/7117d8a1a8c04d038c54cf75f6b354b4


it is successful.Then execute the above command again, though it fails, but there is no error message prompts.
In fact,it produced a conflict exception,but create_grant didn't process the exception.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1439960

Title:
  Users can be assigned the same role in a tenant by create_grant
  without any error message

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Grant role to user on a project by following command:
  curl -H "X-Auth_Token:$ADMIN" -X PUT  http://localhost:35357/v3/projects/2fb15258b1f44e05937070be864ed9b1/users/c6b7c33a5cfc45ba8d666b03ba29ea34/roles/7117d8a1a8c04d038c54cf75f6b354b4

  
  it is successful.Then execute the above command again, though it fails, but there is no error message prompts.
  In fact,it produced a conflict exception,but create_grant didn't process the exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1439960/+subscriptions


Follow ups

References