← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1472054] [NEW] creating a trust specified "allow_redelegation =true and remaining_uses=2" doesn't show error message

 

Public bug reported:

 in the function of create_trust (Corresponding file is:/keystone/trust/core.py),it should show the message as follows "remaining_uses must not be set if redelegation is allowed".but missing "raise" statement  in the following code:
 if 'remaining_uses' in trust:
                exception.ValidationError(_('remaining_uses must not be set '
                                            'if redelegation is allowed'))

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  creating a trust specified "allow_redelegation =true and
  remaining_uses=2" doesn't show error message

Status in OpenStack Identity (Keystone):
  New

Bug description:
   in the function of create_trust (Corresponding file is:/keystone/trust/core.py),it should show the message as follows "remaining_uses must not be set if redelegation is allowed".but missing "raise" statement  in the following code:
   if 'remaining_uses' in trust:
                  exception.ValidationError(_('remaining_uses must not be set '
                                              'if redelegation is allowed'))

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


Follow ups

References