"Edit" button appears next to image titles that the user doesn't have permission to edit
Review Request #6747 — Created Jan. 8, 2015 and submitted
Edit button and functionality was given to everyone as the check was not done on the front end. Checking with the model for ReviewRequestEditor was done to ensure edit permissions were allowed.
Testing was done manually with admin, users (people who created the issue, part of the group/issued to, or not part of the group) and visitors.
VT
- Change Summary:
-
Added bug issue id
- Bugs:
-
You can remove "Bug Issue 3306" from the title. The generated commit description will contain the bug number.
You should add the
students
group to future reviews.
VT
- Summary:
-
Bug Issue 3606: "Edit" button appears next to image titles that the user doesn't have permission to edit"Edit" button appears next to image titles that the user doesn't have permission to edit
- Groups:
VT
- Change Summary:
-
Adjusted to use Backbone.js implementation
- Commit:
-
243c9393a96e6b4f6115c9b7a86b8e34e3aeb7498241c125e0491c94de523969cd300d7c0bb272a5
-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/js/views/reviewRequestEditorView.js
VT
- Change Summary:
-
New diff
- Commit:
-
8241c125e0491c94de523969cd300d7c0bb272a50ee0cd6e8abc0a90954267709c4c14b77f4e3fd1