Bug 990860

Summary: group owners are not identified on the group page (for non-owners)
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: web UIAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.13CC: aigao, asaha, dcallagh, ebaak, jingwang, llim, qwan, rmancy
Target Milestone: 0.14.2Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 01:47:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2013-08-01 06:29:53 UTC
For users who are not admins and not owners of a group, the group page shows a cut-down read-only view. In particular, the "Group Owner" column is omitted which means it is not possible for a non-owner to determine who the owners of the group are. That means they have no easy way to figure out who they should ask if they want to be granted membership.

Additionally, I think the list of members should sort owners to the top, to make them easier to spot.

Comment 2 Dan Callaghan 2013-08-01 07:10:25 UTC
The cut-down read-only view also doesn't display the fact that a group is populated from LDAP, which is important for users to know.

Comment 3 Amit Saha 2013-08-11 20:40:07 UTC
Fwiw, the command line subcommand 'group-members' does identify the owners (http://beaker-project.org/docs-develop/man/bkr-group-members.html).

Comment 4 Amit Saha 2013-08-20 04:37:05 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/2172/

Comment 6 wangjing 2013-08-21 07:35:53 UTC
test on beaker-devel(2013.8.21)-->partly fail
steps:
1. non-admin and non-owner user check the group ownership on group page.-->pass
2. non-admin and non-owner user check the page of group populated from LDAP.-->pass
3. the list of members should sort owners to the top, to make them easier to spot.-->fail

Comment 7 Amit Saha 2013-08-21 23:41:04 UTC
(In reply to wangjing from comment #6)
> test on beaker-devel(2013.8.21)-->partly fail
> steps:
> 3. the list of members should sort owners to the top, to make them easier to
> spot.-->fail

Didn't realize that this was mandatory. Anyway, suggestions welcome for how this can be done.

Comment 8 Amit Saha 2013-08-22 01:39:24 UTC
Patch for showing the owners first: http://gerrit.beaker-project.org/#/c/2178/

Comment 10 wangjing 2013-08-26 08:02:13 UTC
verified on beaker-devel(2013.8.26)-->pass
steps:
1. non-admin and non-owner user check the group ownership on group page.-->pass
2. non-admin and non-owner user check the page of group populated from LDAP.-->pass
3. the list of members should sort owners to the top, to make them easier to spot.-->pass

Comment 11 Nick Coghlan 2013-10-03 02:29:40 UTC
Beaker 0.15 has been released.

Comment 12 Nick Coghlan 2013-10-28 03:16:10 UTC
This change has been nominated to be back ported to the 0.14 branch, to be released as part of the next maintenance release 0.14.2.

Adjusting target milestone to make the changes backported to 0.14.2 easier to identify. 0.15.0 has enough significant regressions that it shouldn't be used, so the change means that 0.15.1 can be effectively reidentified as the union of that tag and the 0.14.2 target milestone.

Comment 14 wangjing 2013-10-28 10:06:42 UTC
verified on beaker-devel(2013.8.26)-->pass
steps:
1. non-admin and non-owner user check the group ownership on group page.-->pass
2. non-admin and non-owner user check the page of group populated from LDAP.-->pass
3. the list of members should sort owners to the top, to make them easier to spot.-->pass

Comment 15 Nick Coghlan 2013-11-07 01:47:35 UTC
Closing as addressed in Beaker 0.14.2.