Let users with local editcomponents privs manage flags for products they can administer

RESOLVED FIXED in Bugzilla 4.2

Status

()

Bugzilla
Administration
--
enhancement
RESOLVED FIXED
8 years ago
3 years ago

People

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

Tracking

3.5.2
Bugzilla 4.2
Dependency tree / graph
Bug Flags:
approval +
testcase ?

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
When you have local editcomponents privs, you can only edit product, component, milestone and version properties, but you cannot edit flags themselves. What we should do is to allow you to create flags in this specific product, i.e. the inclusion list should only list products you can administer. For existing flags, you should be allowed to remove flags from products you can administer, and edit their properties (including deactivating them) if your product is the single one in the inclusion list.
(Assignee)

Updated

8 years ago
Depends on: 523205
(Assignee)

Updated

8 years ago
Assignee: administration → LpSolit
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 3.8
(Assignee)

Updated

7 years ago
Target Milestone: Bugzilla 4.0 → Bugzilla 4.2
(Assignee)

Comment 1

7 years ago
Created attachment 495184 [details] [diff] [review]
patch, v1

Here we go. r=me as module owner.
Attachment #495184 - Flags: review+
(Assignee)

Comment 2

7 years ago
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified editflagtypes.cgi
modified Bugzilla/FlagType.pm
modified Bugzilla/User.pm
modified skins/standard/attachment.css
modified skins/standard/global.css
modified template/en/default/admin/admin.html.tmpl
modified template/en/default/admin/flag-type/edit.html.tmpl
modified template/en/default/global/user-error.html.tmpl
Committed revision 7611.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Flags: testcase?
Flags: approval+
Keywords: relnote
Resolution: --- → FIXED
(Assignee)

Updated

7 years ago
Blocks: 616679
(Assignee)

Updated

6 years ago
Blocks: 686227
(Assignee)

Comment 3

6 years ago
Added to relnotes in bug 713346.
Keywords: relnote
(Assignee)

Updated

3 years ago
Blocks: 1009406
You need to log in before you can comment on or make changes to this bug.