← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1440107] [NEW] Clearing up project assignments makes assumptions that domain_id != project_id

 

Public bug reported:

The method delete_project_assignments() in the assignment backends
removes all assignments for a project - although the code fails to set
the type of assignment, and just uses target_id.  This is nearly always
going to be fine, although technically one should also specify the type
of the assignment in the delete (e.g. USER_PROJECT or GROUP_PROJECT).

** Affects: keystone
     Importance: Low
     Assignee: Henry Nash (henry-nash)
         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/1440107

Title:
  Clearing up project assignments makes assumptions that domain_id !=
  project_id

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The method delete_project_assignments() in the assignment backends
  removes all assignments for a project - although the code fails to set
  the type of assignment, and just uses target_id.  This is nearly
  always going to be fine, although technically one should also specify
  the type of the assignment in the delete (e.g. USER_PROJECT or
  GROUP_PROJECT).

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


Follow ups

References