If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Group.pm needs a get_all_groups() routine

RESOLVED FIXED in Bugzilla 2.22

Status

()

Bugzilla
Bugzilla-General
--
enhancement
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: Frédéric Buclin, Assigned: Frédéric Buclin)

Tracking

2.21
Bugzilla 2.22
Bug Flags:
approval +

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
editgroups.cgi (for obvious reasons) as well as editflagtypes.cgi (to choose the
grant and request groups) require a list of groups available. I don't know yet
if a separate routine which returns non-system groups only would be useful. It
would be useful for editflagtypes.cgi, but I can live without it. ;)

I need it for bug 275608.
(Assignee)

Updated

12 years ago
Target Milestone: --- → Bugzilla 2.22
(Assignee)

Comment 1

12 years ago
Created attachment 194128 [details] [diff] [review]
patch, v1
Assignee: general → LpSolit
Status: NEW → ASSIGNED
Attachment #194128 - Flags: review?(bugreport)
(Assignee)

Comment 2

12 years ago
(In reply to comment #0)
> if a separate routine which returns non-system groups only would be useful. It
> would be useful for editflagtypes.cgi, but I can live without it. ;)

err.. it's useless for editflagtypes.cgi, so such a routine which would return
only non-system groups is actually not required. So this patch is all what I
need. :)

Comment 3

12 years ago
Comment on attachment 194128 [details] [diff] [review]
patch, v1

r=joel.
We'll have to change regexp to userregexp in the edit template interface later
if we decide to have edit use Group.pm as well.
Attachment #194128 - Flags: review?(bugreport) → review+

Updated

12 years ago
Flags: approval?
Flags: approval? → approval+
(Assignee)

Comment 4

12 years ago
Checking in editgroups.cgi;
/cvsroot/mozilla/webtools/bugzilla/editgroups.cgi,v  <--  editgroups.cgi
new revision: 1.60; previous revision: 1.59
done
Checking in Bugzilla/Group.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Group.pm,v  <--  Group.pm
new revision: 1.8; previous revision: 1.7
done
Checking in template/en/default/admin/groups/list.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/groups/list.html.tmpl,v
 <--  list.html.tmpl
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.