← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605537] Re: Action name should be returned during Forbidden Exception to make the message more informative.

 

** Changed in: glance
       Status: In Progress => Fix Released

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

Title:
  Action name should be returned during Forbidden Exception to make the
  message more informative.

Status in Glance:
  Fix Released

Bug description:
  During Forbidden Exception in Glance, the message doesn't provide
  sufficient information about the action _name for which the policy was
  restricted/unauthorized which makes it very difficult for the user to
  debug. Currently, the message displayed is as follows:

  "You are not authorized to complete this action."

  We propose to make this more intuitive by providing the action_name as
  part of the message as shown below:

  "You are not authorized to complete %(action)s action."

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


References