Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 264d24b5550b58cca0217ea6fb0ea99c22bbc466
https://github.com/openSUSE/open-build-service/commit/264d24b5550b58cca0217e...
Author: Björn Geuken
Date: 2016-08-25 (Thu, 25 Aug 2016)
Changed paths:
M src/api/app/controllers/application_controller.rb
M src/api/app/models/user.rb
M src/api/spec/models/package_spec.rb
Log Message:
-----------
[webui][ci] Update admin handling in user model
* Removes usage of an instance variable (@is_admin). This was quite flaky, eg.
changing the admin role of a user required to update @is_admin as well. Which
we didn't.
* Removes is_admin= method which wasn't really used and relied on @is_admin.
* Adds a test for is_admin?
Commit: ebdc6d4de4128fc4441ffb5ffa73292efe709118
https://github.com/openSUSE/open-build-service/commit/ebdc6d4de4128fc4441ffb...
Author: Christian Bruckmayer
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M src/api/app/controllers/application_controller.rb
M src/api/app/models/user.rb
M src/api/spec/models/package_spec.rb
Log Message:
-----------
Merge pull request #2078 from bgeuken/refactor_is_admin
[webui][ci] Update admin handling in user model
Compare: https://github.com/openSUSE/open-build-service/compare/059a81c21ea2...ebdc6d...