Open Bug 552973 Opened 15 years ago Updated 2 years ago

Would be nice if Bugzilla::User::groups also marked each group returned as direct or inherited

Categories

(Bugzilla :: User Accounts, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: dkl, Unassigned)

Details

Attachments

(1 file)

Currently Bugzilla::User::groups returns a list of Bugzilla::Group objects which does not have an attribute showing whether the group is directly granted or an inherited group.

We need to add this ability so we could see the list of groups a user is in using User.get XMLRPC call. We needed to see whether the user was in the group directly or if it was inherited so we would know now to add the user to a group if they were essentially already a member.

Adding a patch that will add the necessary attribute to show whether a group is direct or inherited.

Dave
Assignee: user-accounts → dkl
Attachment #433076 - Flags: review?(mkanat)
Severity: normal → enhancement
OS: Linux → All
Hardware: x86 → All
Comment on attachment 433076 [details] [diff] [review]
Patch to show if a user is in a group directly or due to inheritance (v1)

  This is r- because right now there's nothing in Bugzilla itself that's using it, and no dependencies set that will use it.
Attachment #433076 - Flags: review?(mkanat) → review-
Assignee: dkl → user-accounts
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: