#409 sss_groupshow: Is a Member of - shows parent group memberships without -R
Closed: Fixed Opened by jgalipea.

Description[[BR]]

As I finish automating acceptance tests for sss_groupshow, I am getting some unexpected behavior with the listing of "Is a member of:".[[BR]]

Setup:[[BR]]
Nested Group Structure[[BR]]

Company
  --->  Engineers
          ---->  Quality_Engineering

sss_groupshow Quality_Engineering[[BR]]

ACTUAL:

[root@localhost testcases]# sss_groupshow Quality_Engineering
Group: Quality_Engineering
GID number: 1003
Member users: qeuser
Is a member of: Company,Engineers
Member groups:

EXPECTED:

[root@localhost testcases]# sss_groupshow Quality_Engineering
Group: Quality_Engineering
GID number: 1003
Member users: qeuser
Is a member of: Engineers
Member groups:

With -R, I would expect to show the parent group membership.
[[BR]]

[root@localhost testcases]# sss_groupshow -R Quality_Engineering
Group: Quality_Engineering
GID number: 1003
Member users: qeuser
Is a member of: Company,Engineers
Member groups:

Fields changed

component: SSSD => sss_tools
milestone: NEEDS_TRIAGE => SSSD 1.1
owner: somebody => jhrozek

Fixed by 7d83d46ff9eb06b294c186a41ad9e7dbe648f5c3

doc: 0 => 1
fixedin: => 1.1.0
resolution: => fixed
status: new => closed

Apart from the man page, which appears to be correct already, is there any other doc that needs updating? If not, we can set Doc Updated (Deployment Guide doesn't cover this).

Only the man page needed to be verified. Done.

doc: 1 => 0
docupdated: 0 => 1

Fields changed

rhbz: => 0

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

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/1451

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.

Metadata