Skip to content
Commit 264d24b5 authored by Björn Geuken's avatar Björn Geuken
Browse files

[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?
parent 4c5c726d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment