Allow users without editbugs privs to "Change Several Bugs at Once" for bugs which are assigned to them

NEW
Unassigned

Status

()

Bugzilla
Query/Bug List
--
enhancement
13 years ago
8 months ago

People

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

Tracking

Details

Attachments

(1 obsolete attachment)

(Reporter)

Description

13 years ago
Actually, only users with editbugs privs are allowed to "Change Several Bugs at
Once":

http://lxr.mozilla.org/mozilla/source/webtools/bugzilla/buglist.cgi#881

$vars->{'caneditbugs'} = UserInGroup('editbugs');



http://lxr.mozilla.org/mozilla/source/webtools/bugzilla/template/en/default/list/list.html.tmpl#148

        [% IF bugs.size > 1 && caneditbugs && !dotweak %]
          <a href="buglist.cgi?[% urlquerypart FILTER html %]
            [%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1"
            >Change&nbsp;Several&nbsp;[% terms.Bugs %]&nbsp;at&nbsp;Once</a>
          |
        [% END %]


Users without editbugs privs who are the owner of several bugs in the current
bug list should be able to edit them at once (for these bugs only, of course)
anyway.

This does not harm, gives no additional privs to users, adds no new UI, but is
very useful.
(Reporter)

Comment 1

13 years ago
In response to justdave's fear that newbies could do dangerous things, we should
add a warning at the top of the page if !UserInGroup('editbugs').

I'll propose a patch for this.
Assignee: justdave → LpSolit
I like that. And I think our QA people would like it even more if they could do
it as well, not only the owners :-)
(Reporter)

Updated

13 years ago
Status: NEW → ASSIGNED

Comment 3

12 years ago
Created attachment 210319 [details]
text
Comment on attachment 210319 [details]
text

Marking unrelated attachment as obsolete.

Please use http://landfill.bugzilla.org/ for testing purposes.
Attachment #210319 - Attachment is obsolete: true
Attachment #210319 - Attachment is patch: false

Updated

12 years ago
QA Contact: mattyt-bugzilla → default-qa
(Reporter)

Updated

12 years ago
Assignee: LpSolit → query-and-buglist
Status: ASSIGNED → NEW
Comment hidden (spam)
You need to log in before you can comment on or make changes to this bug.