diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-08-31 14:48:57 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-08-31 14:48:57 -0300 |
commit | 8077b728bc26e9ece8055b8301033238ddbdf3f5 (patch) | |
tree | e22b26fe9b8ca3343c2eded3c1b024704d86221c /app/controllers/boards | |
parent | f2a43ff5b7eec188ffc470649bf40d268cbdce2a (diff) | |
download | gitlab-ce-8077b728bc26e9ece8055b8301033238ddbdf3f5.tar.gz |
Continue BE backport
Diffstat (limited to 'app/controllers/boards')
-rw-r--r-- | app/controllers/boards/issues_controller.rb | 1 | ||||
-rw-r--r-- | app/controllers/boards/lists_controller.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/boards/issues_controller.rb b/app/controllers/boards/issues_controller.rb index 7d776d9b591..8ac23faa4b7 100644 --- a/app/controllers/boards/issues_controller.rb +++ b/app/controllers/boards/issues_controller.rb @@ -5,6 +5,7 @@ module Boards before_action :authorize_read_issue, only: [:index] before_action :authorize_create_issue, only: [:create] before_action :authorize_update_issue, only: [:update] + skip_before_action :authenticate_user!, only: [:index] def index issues = Boards::Issues::ListService.new(board_parent, current_user, filter_params).execute diff --git a/app/controllers/boards/lists_controller.rb b/app/controllers/boards/lists_controller.rb index a4ed37dab31..381fd4d7508 100644 --- a/app/controllers/boards/lists_controller.rb +++ b/app/controllers/boards/lists_controller.rb @@ -4,6 +4,7 @@ module Boards before_action :authorize_admin_list, only: [:create, :update, :destroy, :generate] before_action :authorize_read_list, only: [:index] + skip_before_action :authenticate_user!, only: [:index] def index lists = Boards::Lists::ListService.new(board.parent, current_user).execute(board) |