Bug 479309 - Bugzilla guided bug creation results in wrong permissions/cc on private bug
Summary: Bugzilla guided bug creation results in wrong permissions/cc on private bug
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: devel
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-08 19:14 UTC by James Laska
Modified: 2013-09-02 06:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-09 04:07:41 UTC
Embargoed:


Attachments (Terms of Use)
Patch to allow setting of permission groups in guided bug entry (v1) (1.36 KB, patch)
2009-01-08 22:33 UTC, David Lawrence
nelhawar: review+
Details | Diff

Description James Laska 2009-01-08 19:14:35 UTC
Description of problem:

Creating a new bug using the bugzilla guided wizard resulted in a bug filed against an internal component with public cc members.  This happened while filing bug#479193.

Steps to Reproduce:
1. https://bugzilla.redhat.com/enter_bug.cgi?format=guided
2. https://bugzilla.redhat.com/enter_bug.cgi?classification=Red%20Hat&format=guided
3. https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20QA%20Process&format=guided
4. Enter bug details
5. Click "Submit Bug Report"
  
Actual results:

See bug#479193

Expected results:

A private bug shouldn't have public cc list members attached?

Comment 1 Dave Malcolm 2009-01-08 19:41:03 UTC
The issue appears to have been that the visibility groups ("only sibile to rh qa") weren't set up.  Not sure if it was when the bug was initially created, or when it changed component.

Comment 2 Dave Malcolm 2009-01-08 19:42:23 UTC
s/sibile/visible

Possibly seeing this with this bug; last update sent email to:
bugbot.org

This bug isn't currently in any groups; should it have been?

Comment 3 David Lawrence 2009-01-08 20:04:40 UTC
Currently the guided bug entry only allows for submitting public bugs (unless you click security) so this is understood not to work. The HTML form does not fill in the any groups for the user either hidden or visible.

We will need to change the guided page to honor groups that are normally checked by default for certain products such as Red Hat QA Process either as hidden form fields or just display all of the normal groups check boxes such as the expert bug page does. This will probably not be confusing to the end user as most people who use the guided page are not in any groups anyway.

In the meantime please use the normal expert bug page for bugs meant to be private.

Dave

Comment 4 David Lawrence 2009-01-08 22:33:55 UTC
Created attachment 328500 [details]
Patch to allow setting of permission groups in guided bug entry (v1)

Patch that shows the list of groups that the user is member off like in the expert bug entry page.

Please review.

Dave

Comment 5 Noura El hawary 2009-01-09 03:30:12 UTC
Comment on attachment 328500 [details]
Patch to allow setting of permission groups in guided bug entry (v1)

Hi Dave,

Patch looks good.

Thanks,
Noura

Comment 6 David Lawrence 2009-01-09 04:07:41 UTC
Thanks Noura. Committed to CVS and will be in the next update.


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