diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-07-24 15:46:40 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-24 15:50:12 -0400 |
commit | b9b2d08638131be9861cb8d7e4f645a9013dd03f (patch) | |
tree | 0fdd8567ea4b824f986dc3826b1cf972c1a455eb /app/services/issues | |
parent | e496c35fedeb44648dec363acac1e6e30722d1b7 (diff) | |
download | gitlab-ce-b9b2d08638131be9861cb8d7e4f645a9013dd03f.tar.gz |
Dynamically check `:admin_*` ability in IssuableBaseServicers-issue-2092
Closes #2092
Diffstat (limited to 'app/services/issues')
-rw-r--r-- | app/services/issues/base_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/issues/base_service.rb b/app/services/issues/base_service.rb index c3ca04a4343..770f32de944 100644 --- a/app/services/issues/base_service.rb +++ b/app/services/issues/base_service.rb @@ -10,6 +10,10 @@ module Issues private + def filter_params + super(:issue) + end + def execute_hooks(issue, action = 'open') issue_data = hook_data(issue, action) issue.project.execute_hooks(issue_data, :issue_hooks) |