Bug 452444 - Alphabetic list of groups on "Issues::Choose Group" page does not function as expected for customers
Alphabetic list of groups on "Issues::Choose Group" page does not function as...
Product: Issue-Tracker
Classification: Retired
Component: User Interface (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Lisa Lu
David Spalding
Depends On:
Blocks: 528530
  Show dependency treegraph
Reported: 2008-06-22 20:47 EDT by Gary Case
Modified: 2015-01-19 19:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-11-18 17:17:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gary Case 2008-06-22 20:47:00 EDT
Description of problem:
The alphabetic list of groups on the Issues::Choose Group page does not function
as expected for customers. If, for example, you have membership in two groups
whose names begin with "G" and "I", those groups automatically appear when
"Issues" is clicked, assuming the Show Group privilege isn't disabled for either
group in Group Preferences. This is expected behavior.

Clicking "J" should not display any groups, as the account isn't a member of a
group whose name starts with "J", but clicking "J" displays the "G" and "I"
groups. Clicking on "I" should only display the "I" group, but, again, it
displays both the "G" and "I" groups. I'm calling this a problem based on the
behavior of IT for Red Hat employees. As an employee, clicking a letter on that
alphabetic list only displays groups that begin with that letter.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Log in as a customer (non RH-employee privilege) with access to two or more
2. Click the Issues link
3. Try to use the alphabetic links on the Issues::Choose Group page. They don't
work correctly.
Actual results:
All groups shown

Expected results:
Only groups whose names start with the chosen letter shown (or display an error
like "No groups available that start with "$LETTER"" to let customers know why
no groups can be seen).

Additional info:
Comment 1 David Spalding 2009-10-06 17:45:17 EDT
Multiple solutions available for this request. 

There should be no groups displayed. (Any starting with "Z.")
NO list of letters displayed for any but Red Hat associates
Error message displayed with user clicks a letter for which s/he has no groups.
Mask the HREF (link) or letter for which s/he has no groups.

Will let developer determine the most efficacious.
Comment 2 Gary Case 2009-10-14 15:10:54 EDT
I talked with Lisa today about the second option, removing the list of letters for non-Red Hat users. That sounds reasonable to me. How many accounts could a non-Red Hatter have, anyway?

Comment 4 Lisa Lu 2009-10-15 11:42:47 EDT

I pushed a fix on http://cspserver2.app.dev.redhat.com

Here are a couple of customer accounts who belong to more than one group:
  Glen Johnson/redhat

Here are a couple of RH users:

please let me know if you have any questions.

Comment 5 David Spalding 2009-10-15 19:28:57 EDT
Confirmed fix in Dev that letters only appear for Red Hat users. I like this. 
Simple. :)
Comment 6 David Spalding 2009-11-12 16:51:46 EST
Verified in WEBQA.

Note You need to log in before you can comment on or make changes to this bug.