← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406627] [NEW] Inheritance info must be stored inside scope on test_v3_assignment

 

Public bug reported:

The method _build_role_assignment_url_and_entity(..) creates expected role assignments depending on provided parameters.
When an inherited role assignment is requested, it is putting 'OS-INHERIT:inherited_to' info inside the main body of the entity, instead of inside the 'scope' key.

This reflects on tests, making an assert to never occur [1].

[1]
https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3.py#L1070-L1072

** Affects: keystone
     Importance: Undecided
     Assignee: Samuel de Medeiros Queiroz (samuel-z)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Samuel de Medeiros Queiroz (samuel-z)

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

Title:
  Inheritance info must be stored inside scope on test_v3_assignment

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The method _build_role_assignment_url_and_entity(..) creates expected role assignments depending on provided parameters.
  When an inherited role assignment is requested, it is putting 'OS-INHERIT:inherited_to' info inside the main body of the entity, instead of inside the 'scope' key.

  This reflects on tests, making an assert to never occur [1].

  [1]
  https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3.py#L1070-L1072

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


Follow ups

References