← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1417451] [NEW] SQL User & Group entities still have FK to domain

 

Public bug reported:

The SQL User and Group entities store their domain_id.  Even though we
have tried to cut the linkage between the identity and
resource/assignment components - it turns out that the User & Group SQL
entities still mark domain_id as a foreign key back to the domain table
in resource. This stops proper decoupling between our components (and,
for instance, makes it harder to handle domain deletion via
notification).

We should drop the domain_id FK constraint on User & Group entities.

** Affects: keystone
     Importance: Medium
     Assignee: Henry Nash (henry-nash)
         Status: New

** Description changed:

  The SQL User and Group entities store their domain_id.  Even though we
  have tried to cut the linkage between the identity and
  resource/assignment components - it turns out that the User & Group SQL
  entities still mark domain_id as a foreign key back to the domain table
  in resource. This stops proper decoupling between our components (and,
- for instance, makes it hard to hand domain deletion via notification).
+ for instance, makes it harder to handle domain deletion via
+ notification).
  
  We should drop the domain_id FK constraint on User & Group entities.

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

Title:
  SQL User & Group entities still have FK to domain

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The SQL User and Group entities store their domain_id.  Even though we
  have tried to cut the linkage between the identity and
  resource/assignment components - it turns out that the User & Group
  SQL entities still mark domain_id as a foreign key back to the domain
  table in resource. This stops proper decoupling between our components
  (and, for instance, makes it harder to handle domain deletion via
  notification).

  We should drop the domain_id FK constraint on User & Group entities.

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


Follow ups

References