Activity log for bug #1186061

Date Who What changed Old value New value Message
2013-05-31 00:25:23 Arvind Tiwari bug added bug
2013-05-31 00:26:51 Arvind Tiwari keystone: assignee Arvind Tiwari (arvind-tiwari)
2013-05-31 00:38:03 Arvind Tiwari description It seems V3 Revoke token API is doing V2 style admin check even if the caller is authorized based on auth policy. The APi call is landing at "keystone.token.controllers.delete_token" method which try to do assert_admin(context) which will fail if the call is not an V2 type admin. API: DELETE http://localhost:35358/v3/auth/tokens Below is the block of code from keystone.token.controllers.delete_token which does assert_admin checks def delete_token(self, context, token_id): """Delete a token, effectively invalidating it for authz.""" # TODO(termie): this stuff should probably be moved to middleware self.assert_admin(context) self.token_api.delete_token(context=context, token_id=token_id) V3 Revoke token API is doing V2 style admin check even if the caller is authorized based on auth policy. The APi call is landing at "keystone.token.controllers.delete_token" method which try to do assert_admin(context) which will fail if the call is not an V2 type admin. API: DELETE http://localhost:35358/v3/auth/tokens Below is the block of code from keystone.token.controllers.delete_token which does assert_admin checks def delete_token(self, context, token_id):       """Delete a token, effectively invalidating it for authz."""       # TODO(termie): this stuff should probably be moved to middleware       self.assert_admin(context)       self.token_api.delete_token(context=context, token_id=token_id)
2013-05-31 00:38:34 Dolph Mathews keystone: importance Undecided Medium
2013-05-31 00:38:37 Dolph Mathews keystone: status New Triaged
2013-06-05 02:33:22 OpenStack Infra keystone: status Triaged In Progress
2013-06-05 02:33:22 OpenStack Infra keystone: assignee Arvind Tiwari (arvind-tiwari) Guang Yee (guang-yee)
2013-06-05 14:03:25 OpenStack Infra keystone: assignee Guang Yee (guang-yee) Adam Young (ayoung)
2013-06-06 18:53:54 OpenStack Infra keystone: assignee Adam Young (ayoung) Guang Yee (guang-yee)
2013-07-15 17:03:54 OpenStack Infra keystone: status In Progress Fix Committed
2013-07-17 12:06:37 Thierry Carrez keystone: status Fix Committed Fix Released
2013-07-17 12:06:37 Thierry Carrez keystone: milestone havana-2
2013-10-17 12:37:07 Thierry Carrez keystone: milestone havana-2 2013.2