| Age | Commit message (Collapse) | Author |
|
Redirect to login if not logged in, on login session cookie is set
and projects or reviews are listed.
|
|
|
|
|
|
User: username must be unique, use as primary key and drop id.
|
|
auth module switching implementation based on cfg(test)
|
|
|
|
Non-test auth is now using ldap for account syncing and authentication.
Test auth is still using hardcoded users (user and other). But it is
now also possible to login as "other".
|
|
Also add /users endpoint.
|
|
While doing that I realized I had forgotten to declare maintainers
for projects. Also added default roles and changed so that review_users
only contains overrides, so that changes to the project users is
instantly applied to all reviews (unless there is an override).
|
|
|
|
Let auth::stage() deal with having to clone the string
It shouldn't force the caller to create a String object.
|
|
|
|
The actual authentication is still fake.
|