[obs-commits] [openSUSE/open-build-service] ded747: [webui] Move Comment#check_delete_permissions to p...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: ded747b72c37fb1f4c4c457d22d23acbdd9aab93 https://github.com/openSUSE/open-build-service/commit/ded747b72c37fb1f4c4c45... Author: David Kang <gerheman@gmail.com> Date: 2016-12-26 (Mon, 26 Dec 2016) Changed paths: M src/api/app/controllers/webui/comments_controller.rb M src/api/app/models/comment.rb A src/api/app/policies/comment_policy.rb M src/api/app/views/webui/comment/_links.html.erb Log Message: ----------- [webui] Move Comment#check_delete_permissions to pundit policy Commit: cf3f33dd83b97a3e7a9f605f526ae6110215cffb https://github.com/openSUSE/open-build-service/commit/cf3f33dd83b97a3e7a9f60... Author: David Kang <gerheman@gmail.com> Date: 2016-12-26 (Mon, 26 Dec 2016) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/comments_controller.rb Log Message: ----------- [api] Add pundit rescue exception for comment Commit: fc9298e6c7095feef5ec408d316e45c7ea339ef2 https://github.com/openSUSE/open-build-service/commit/fc9298e6c7095feef5ec40... Author: David Kang <gerheman@gmail.com> Date: 2016-12-26 (Mon, 26 Dec 2016) Changed paths: A src/api/spec/policies/comment_policy_spec.rb M src/api/spec/rails_helper.rb Log Message: ----------- [ci] Comment pundit policy test Commit: 34496c45a93ad421cb5bbf5466465163aa72bb4a https://github.com/openSUSE/open-build-service/commit/34496c45a93ad421cb5bbf... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2016-12-27 (Tue, 27 Dec 2016) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/comments_controller.rb M src/api/app/controllers/webui/comments_controller.rb M src/api/app/models/comment.rb A src/api/app/policies/comment_policy.rb M src/api/app/views/webui/comment/_links.html.erb A src/api/spec/policies/comment_policy_spec.rb M src/api/spec/rails_helper.rb Log Message: ----------- Merge pull request #2498 from DavidKang/move_comment_authorization_to_pundit Move delete comment authorization to pundit Compare: https://github.com/openSUSE/open-build-service/compare/3b3ad3ef60c8...34496c...
participants (1)
-
Christian Bruckmayer