Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 78f7cc8e61cc70e631c2b8968cd6b8a532a950d5
https://github.com/openSUSE/open-build-service/commit/78f7cc8e61cc70e631c2b8...
Author: Christian Bruckmayer
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
M src/api/app/controllers/webui/webui_controller.rb
Log Message:
-----------
[webui] Wrap Pundit::NotAuthorizedError query call into try
otherwise it will fail when User.current is nil because query does not exist for manually raised Exception in ApplicationPolicy#initialize
Commit: 764a2b0b7033f4f14648bd35bc8d1e63c6147f0d
https://github.com/openSUSE/open-build-service/commit/764a2b0b7033f4f14648bd...
Author: Björn Geuken
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M src/api/app/controllers/webui/webui_controller.rb
Log Message:
-----------
Merge pull request #2388 from ChrisBr/pundit_no_user_exception
[webui] Wrap Pundit::NotAuthorizedError query call into try
Compare: https://github.com/openSUSE/open-build-service/compare/2889f4d98df3...764a2b...