← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1548562] Re: Misleading response when try to delete project with children

 

Reviewed:  https://review.openstack.org/283325
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=8e2bba4829bbaf689023c5b9c132cc527dbe482d
Submitter: Jenkins
Branch:    master

commit 8e2bba4829bbaf689023c5b9c132cc527dbe482d
Author: Brant Knudson <bknudson@xxxxxxxxxx>
Date:   Mon Feb 22 18:12:35 2016 -0600

    Fix project-related forbidden response messages
    
    When attempting to delete a project that has a child, the operation
    is rejected as expected, but the message said it was rejected
    because of an authority problem:
    
     You are not authorized to perform the requested action: cannot
     delete the project ... since it is not a leaf in the hierarchy.
    
    This is misleading since the problem has nothing to do with
    authority and granting more authority isn't going to allow the
    operation to work.
    
    There are several operations like this that are fixed.
    
    ForbiddenAction is meant to be used to reference the action in the
    policy file.
    
    Change-Id: Ibe8c1ee8e5cac7c135d0b84c5e59b630e3d91d20
    Closes-Bug: 1548562


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1548562

Title:
  Misleading response when try to delete project with children

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  
  When attempting to delete a project that has a child, the operation
  is rejected as expected, but the message says it was rejected
  because of an authority problem:

   You are not authorized to perform the requested action: cannot
   delete the project ... since it is not a leaf in the hierarchy.

  This is misleading since the problem has nothing to do with
  authority and granting more authority isn't going to allow the
  operation to work.

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


References