Commit 4645f464 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Allow developers to mange issue tracker

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent baccb9a4
v 6.6.0
- Permissions: Developer now can manage issue tracker (modify any issue)
v 6.5.1 v 6.5.1
- Fix branch selectbox when create merge request from fork - Fix branch selectbox when create merge request from fork
......
...@@ -9,7 +9,7 @@ class Projects::IssuesController < Projects::ApplicationController ...@@ -9,7 +9,7 @@ class Projects::IssuesController < Projects::ApplicationController
before_filter :authorize_write_issue!, only: [:new, :create] before_filter :authorize_write_issue!, only: [:new, :create]
# Allow modify issue # Allow modify issue
before_filter :authorize_modify_issue!, only: [:edit, :update] before_filter :authorize_modify_issue!, only: [:edit, :update, :bulk_update]
respond_to :html respond_to :html
......
...@@ -125,6 +125,7 @@ class Ability ...@@ -125,6 +125,7 @@ class Ability
project_report_rules + [ project_report_rules + [
:write_merge_request, :write_merge_request,
:write_wiki, :write_wiki,
:modify_issue,
:push_code :push_code
] ]
end end
......
...@@ -100,6 +100,13 @@ ...@@ -100,6 +100,13 @@
%td.permission-x &#10003; %td.permission-x &#10003;
%td.permission-x &#10003; %td.permission-x &#10003;
%td.permission-x &#10003; %td.permission-x &#10003;
%tr
%td Manage issue tracker
%td
%td
%td.permission-x &#10003;
%td.permission-x &#10003;
%td.permission-x &#10003;
%tr %tr
%td Add new team members %td Add new team members
%td %td
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment