Closed Bug 545253 Opened 15 years ago Closed 15 years ago

Do not display flags as editable when you cannot edit attachment attributes

Categories

(Bugzilla :: Attachments & Requests, defect)

3.5.3
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

Bugzilla 3.6 has a confusing UI when you are not allowed to edit an attachment. Flags are editable, but committing changes has no effect: flag changes are silently ignored. Flags should be displayed as read-only in this case.
Attached patch patch, v1Splinter Review
Granting myself review as module owner.
Attachment #426096 - Flags: review+
Flags: approval3.6+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/attachment/edit.html.tmpl modified template/en/default/flag/list.html.tmpl Committed revision 6975. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.6/ modified template/en/default/attachment/edit.html.tmpl modified template/en/default/flag/list.html.tmpl Committed revision 6969.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to Frédéric Buclin from comment #0) > Bugzilla 3.6 has a confusing UI when you are not allowed to edit an > attachment. Flags are editable, but committing changes has no effect: flag > changes are silently ignored. Flags should be displayed as read-only in this > case. I'm not seeing the problem where flag changes are silently ignored when this patch is not present. This patch's presence, however, breaks the workflow of asking someone without system-wide editbugs permissions for a patch review.
(In reply to ali rayl from comment #3) > (In reply to Frédéric Buclin from comment #0) > This patch's presence, however, breaks the workflow of > asking someone without system-wide editbugs permissions for a patch review. As I said, this is only a UI thing. The backend code would reject your request anyway. What you want is bug 294021.
(In reply to Frédéric Buclin from comment #4) > As I said, this is only a UI thing. The backend code would reject your > request anyway. What you want is bug 294021. The back-end code isn't rejecting the request. If I back out this patch from our installation without making any other changes, users A and B are able to change flag states and have those changes persist.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: