← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1438517] [NEW] Identity driver clean-up methods have confusing names

 

Public bug reported:

The Identity driver supports a number of clean-up methods for other
manages to call (either directly or via notifications), such as
delete_project_assignments() which will delete all roles related to a
project (which, perhaps, is being deleted). Two of these clean-up
methods are misnamed:

delete_group()
delete_user()

These should, for clarity, be called:

delete_group_assignments()
delete_user_assignments()

This is already flagged by a TODO comment in the driver class in the
identity manager.

** Affects: keystone
     Importance: Wishlist
     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/1438517

Title:
  Identity driver clean-up methods have confusing names

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The Identity driver supports a number of clean-up methods for other
  manages to call (either directly or via notifications), such as
  delete_project_assignments() which will delete all roles related to a
  project (which, perhaps, is being deleted). Two of these clean-up
  methods are misnamed:

  delete_group()
  delete_user()

  These should, for clarity, be called:

  delete_group_assignments()
  delete_user_assignments()

  This is already flagged by a TODO comment in the driver class in the
  identity manager.

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


Follow ups

References