| Age | Commit message (Collapse) | Author |
|
|
|
We need that there is at least one system administrator defined at
service startup. We also verify that the 'GeneNetwork System' resource
exists, and is created by the system administrator. If these
invariants are not fulfilled, then the service should not run.
|
|
|
|
|
|
Reorganise test fixtures to more closely follow the design of the auth
system.
Fix the broken tests due to refactors and fix all issues caught by the
running tests.
|
|
* Create a jwt token generator in place of a static token
* Update some fixtures
* Skip some tests that will require more work to fix
|
|
* The system resource is public, and should be present for all users.
* Each user that is a member of a group, should have their group show
up in their list of resources.
* Fix the SQL join: add an `ON ...` clause.
|
|
|
|
With user groups being resources that users can act on (with the
recent changes), this commit moves the `groups` module to under the
`resources` module.
It also renames the `*_resources.py` modules by dropping the
`_resources` part since the code is under the `resources` module
anyway.
|
|
|
|
|
|
Change from gn3 to gn_auth
|
|
|