Commit 4645f464a310d9b13620fdbc0e9a0933f427aca7
1 parent
baccb9a4
Exists in
spb-stable
and in
3 other branches
Allow developers to mange issue tracker
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
4 changed files
with
12 additions
and
1 deletions
Show diff stats
CHANGELOG
app/controllers/projects/issues_controller.rb
| @@ -9,7 +9,7 @@ class Projects::IssuesController < Projects::ApplicationController | @@ -9,7 +9,7 @@ class Projects::IssuesController < Projects::ApplicationController | ||
| 9 | before_filter :authorize_write_issue!, only: [:new, :create] | 9 | before_filter :authorize_write_issue!, only: [:new, :create] |
| 10 | 10 | ||
| 11 | # Allow modify issue | 11 | # Allow modify issue |
| 12 | - before_filter :authorize_modify_issue!, only: [:edit, :update] | 12 | + before_filter :authorize_modify_issue!, only: [:edit, :update, :bulk_update] |
| 13 | 13 | ||
| 14 | respond_to :html | 14 | respond_to :html |
| 15 | 15 |
app/models/ability.rb
app/views/help/permissions.html.haml
| @@ -101,6 +101,13 @@ | @@ -101,6 +101,13 @@ | ||
| 101 | %td.permission-x ✓ | 101 | %td.permission-x ✓ |
| 102 | %td.permission-x ✓ | 102 | %td.permission-x ✓ |
| 103 | %tr | 103 | %tr |
| 104 | + %td Manage issue tracker | ||
| 105 | + %td | ||
| 106 | + %td | ||
| 107 | + %td.permission-x ✓ | ||
| 108 | + %td.permission-x ✓ | ||
| 109 | + %td.permission-x ✓ | ||
| 110 | + %tr | ||
| 104 | %td Add new team members | 111 | %td Add new team members |
| 105 | %td | 112 | %td |
| 106 | %td | 113 | %td |