• Timothy Andrew's avatar
    Fix the admin users UI. · 9b071cd9
    Timothy Andrew authored
    1. The edit user page allows making a user an admin or an auditor. This creates
       a virtual attribute called `access_level` which can have `regular`, `admin`,
       or `auditor` as valid values.
    
    2. The `access_level=` method was broken, which led to the page not accepting
       changes to a user's access level.
    
    3. This commit fixes the issue and adds specs for `access_level=`
    9b071cd9
user_spec.rb 51.5 KB