← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
     Assignee: Mh Raies (raiesmh08)
         Status: In Progress

-- 
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:
  In Progress

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


Follow ups