← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1491180] Fix included in openstack/horizon 9.0.0.0b1

 

This issue was fixed in the openstack/horizon 9.0.0.0b1 development
milestone.

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1491180

Title:
  Adding ifAllowed method to policy

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Policy current returns a response object containing the allowed field,
  which either is true or false. To simplify this a bit, we need a
  wrapper method ifAllowed that would return a promise that either
  resolves or rejects. If it resolves, the success handler is called,
  and if it rejects, the error handler is called. This is more useful in
  practice and negates the need to check the response object.
  Furthermore, this is useful for creating a hz-if-policies directive in
  the future.

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


References