Age | Commit message (Collapse) | Author |
|
Travis CI does not seem to have the admin user records. Let's not depend on them and just stub the admin user.
|
|
|
|
I changed the permissions a little to be more consistent.
Now:
* admins can edit users
* users can destroy themselves.
There's no ui for either of them but theoretically they could. Not sure this is what we want though.
|
|
Conflicts:
users/app/views/sessions/_nav.html.haml
|
|
|
|
Also added #assert_json_error to tests.
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
app/assets/javascripts/application.js
ui_dependencies.rb
|
|
|
|
|
|
Conflicts:
help/test/functional/tickets_controller_test.rb
users/test/functional/application_controller_test.rb
users/test/support/auth_test_helper.rb
|
|
|
|
|
|
also commented the sessions controller test a bit and fixed it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* once tested as helper
* once tested as @controller.send...
|
|
|
|
|
|
Also removed a few hooks to User.current. Will replace with current_user
|
|
handshake.to_json now returns what we want.
|
|
|
|
|
|
|
|
|
|
also changed the debug output so it helps creating tests for ruby-srp
|
|
|
|
|
|
except the final auth as this is still broken anyway
|
|
|
|
|