yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27902
[Bug 1416583] Re: Policy check is missing outer parens
** Changed in: horizon
Status: Fix Committed => Fix Released
** Changed in: horizon
Milestone: None => kilo-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1416583
Title:
Policy check is missing outer parens
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
The policy check call seems to be missing another set of parens and a
comma resulting in incorrect parsing of the action in the policy.py
https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/keystone.py#L147
....
user = request.user
if admin:
if not policy.check(("identity", "admin_required"), request):
raise exceptions.NotAuthorized
endpoint_type = 'adminURL'
....
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1416583/+subscriptions
References