#397 RFE: sss_groupshow on parent group should have option for listing members of child groups
Closed: Fixed None Opened 14 years ago by jgalipea.

Description[[BR]]
Showing a parent group that has child group members with user members, does not list the user members.[[BR]]
[[BR]]

Example:

parent group "disney"
child groups "mice" and "ducks"
user "mickey" member of "mice"
user "donald" member of "ducks"

EXPECTED:[[BR]]

Group: disney
GID number: 3001
Member users: donald mickey
Member groups: ducks mice

ACTUAL: [[BR]]

Group: disney
GID number: 3001
Member users: 
Member groups: ducks mice

If you show a group (has not children) that has no user members. "Member users:" isn't displayed. This makes me think that because the parent group that has no direct users but child groups have users should list them, since it lists "Member users:"[[BR]]


" If you show a group (has not children) that has no user members. "Member users:" isn't displayed. This makes me think that because the parent group that has no direct users but child groups have users should list them, since it lists "Member users:" " - to be addressed in a separate bug.

sbose suggesting a -R option to go recursively through in direct memberships

Fields changed

component: SSSD => sss_tools
owner: somebody => jhrozek
summary: sss_usershow on parent group not listing members of child groups => RFE: sss_usershow on parent group should have option for listing members of child groups

I think by default sss_groupshow should only show direct member as 'ipa group-show' does. If the '-R' option is used all indirect user and group members should be printed with a hint why they are printed. This can be done in a flat way similar to the current output

Group: disney
GID number: 3001
Member users: donald (member of ducks), mickey (member of mice)
Member groups: ducks mice

or in a kind of tree view

Group: disney
GID number: 3001
Member users: 
Member groups: 
   Group: ducks
   GID number: 3002
   Member users: donald
   Member groups:

   Group: mice
   GID number: 3003
   Member users: mickey
   Member groups:

I'm sure there are other ways which will look much nicer. Nevertheless I think indirect members should only be printed if '-R' is used.

Setting priority to minor and target 1.1..I'd like to get it done in time for 1.1 but I believe there are more important bugs right now, so this can slip.

milestone: NEEDS_TRIAGE => SSSD 1.1
priority: major => minor

Fields changed

summary: RFE: sss_usershow on parent group should have option for listing members of child groups => RFE: sss_groupshow on parent group should have option for listing members of child groups

Fixed in 20f7be4

fixedin: => 1.1.0
resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Fields changed

type: defect => enhancement

Metadata Update from @jgalipea:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.1

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1439

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata