yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36925
[Bug 1485553] [NEW] Does not report appropriate error if user ID is invaild
Public bug reported:
Here are the steps for repro
1. Create a Project
2.Create an User to a project
3. Create and add an role to project user
4. Try to revoke role by modifying project user ID
commands:
> openstack --insecure role list --user ad28fec1b20d4e54b004a9f0fadc7ab9 --project 627db9080f184b7d92408ff42c19a132
-----------------------------------------------------------------+
ID Name Project User
-----------------------------------------------------------------+
37cb4f08d18f496ba3a451fa5a8bf17a service project_name test
> curl --insecure
https://keystone:35357/v3/projects/627db9080f184b7d92408ff42c19a132/users/ad28/roles/37cb4f08d18f496ba3a451fa5a8bf17a
-X DELETE -H "X-Auth-Token:<token>" -H "Content-Type: application/json"
** 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/1485553
Title:
Does not report appropriate error if user ID is invaild
Status in Keystone:
New
Bug description:
Here are the steps for repro
1. Create a Project
2.Create an User to a project
3. Create and add an role to project user
4. Try to revoke role by modifying project user ID
commands:
> openstack --insecure role list --user ad28fec1b20d4e54b004a9f0fadc7ab9 --project 627db9080f184b7d92408ff42c19a132
-----------------------------------------------------------------+
ID Name Project User
-----------------------------------------------------------------+
37cb4f08d18f496ba3a451fa5a8bf17a service project_name test
> curl --insecure
https://keystone:35357/v3/projects/627db9080f184b7d92408ff42c19a132/users/ad28/roles/37cb4f08d18f496ba3a451fa5a8bf17a
-X DELETE -H "X-Auth-Token:<token>" -H "Content-Type:
application/json"
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1485553/+subscriptions
Follow ups