aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/users
AgeCommit message (Expand)Author
2023-10-10Remove authentication from GN3...Authentication should be handled by the auth server (gn-auth) and thus, this commit removes code handling user authentication from the GN3 system. Frederick Muriuki Muriithi
2023-07-03Spruce up UI...Make UI somewhat consistent with the GN2 UI. Frederick Muriuki Muriithi
2023-07-03Enable deletion of OAuth2 clients.Frederick Muriuki Muriithi
2023-06-30Edit some of the details of OAuth2 clientsFrederick Muriuki Muriithi
2023-06-30List all OAuth2 clients.Frederick Muriuki Muriithi
2023-06-23Fetch all collections, rename variables...Fetch from `__REDIS_COLLECTION_KEY__` not `"collections"` to ensure all collections are retrieved correctly. Rename from `__*_DOC__` to `__REDIS_*_KEY__` to more clearly express what the variables are about. Frederick Muriuki Muriithi
2023-06-20Fix conflictszsloan
2023-06-20Bug: Don't overwrite/delete old collectionsFrederick Muriuki Muriithi
2023-06-13Namespace session variable...Extract the functions acting on the session into a separate module and namespace the session variable to prevent conflicts. Frederick Muriuki Muriithi
2023-06-08Fix bugs with accessing/creating collectionszsloan
2023-05-29auth: Enable registration of OAuth2 clients...Add UI and code to enable the administrative user to register new OAuth2 clients that can access the API server. Frederick Muriuki Muriithi
2023-05-29Enable Administrator login on GN3...* gn3/auth/authentication/oauth2/views.py: Remove endpoint * gn3/auth/authorisation/users/admin/__init__.py: New admin module * gn3/auth/authorisation/users/admin/ui.py: New admin module * gn3/auth/authorisation/users/admin/views.py: New admin module * gn3/auth/views.py: Use new admin module * gn3/errors.py: Fix linting errors * gn3/templates/login.html: New html template * main.py: Fix linting errors Frederick Muriuki Muriithi
2023-05-23auth: Enable user masquerade...Enable users with the appropriate privileges to masquerade as other users by providing an endpoint that provides a new token for the "masqueradee" Frederick Muriuki Muriithi
2023-05-18auth: Rename collections...Enable renaming collections. Frederick Muriuki Muriithi
2023-05-18auth: user collections: Add and/or remove traits.Frederick Muriuki Muriithi
2023-05-17auth: Delete collections by ID.Frederick Muriuki Muriithi
2023-05-17auth: Import/Delete Anonymous Collections...Add code to enable the importation/deletion of anonymous collections in the active session to the authenticated user's collections. Frederick Muriuki Muriithi
2023-05-16auth: View a collection by its ID.Frederick Muriuki Muriithi
2023-05-15collections: Move code to new package. Create new collections....Move the code to a new package. Enable the creation of new collection by both authenticated and anonymous users. Frederick Muriuki Muriithi
2023-05-12auth: Provide separate endpoint for anonymous collections.Frederick Muriuki Muriithi
2023-05-11auth: Fix bug with migration of user collections...The code, as written previously had a subtle bug - if the user created a new collection before they had tried accessing their list of collections, the older code would not have migrated the older collections. This commit fixes that by enabling the migration of older collections, whether or not the user has created a collection with their new accounts. Frederick Muriuki Muriithi
2023-05-10auth: Add the /oauth2/user/collections/list endpoint...Add an endpoint to list a user's collections. This only works for logged in users. Frederick Muriuki Muriithi
2023-04-27oauth2: Provide missing `user_editable` argument.Frederick Muriuki Muriithi
2023-04-24auth: Return the actual privileges for the user...Previously, the `oauth2/data/authorisation` endpoint was returning hard-coded values for the privileges assigned to the user for each resource. In this change, we rework to return the actual privileges for the user. Frederick Muriuki Muriithi
2023-03-09auth: redis data: migrate data in redis...Implement the code to migrate the data from redis to SQLite. Frederick Muriuki Muriithi
2023-03-09auth: data migration: Data migration outline...Provide an outline of the data migration steps to be taken from some results of the experiments with the data in redis. Frederick Muriuki Muriithi
2023-03-06auth: resources: Enable assigning a user roles on resourcesFrederick Muriuki Muriithi
2023-03-02auth: user registration: Rework error checking. Add email validationFrederick Muriuki Muriithi
2023-02-10Return empty tuple rather than Nothing...When user has no roles assigned, return an empty tuple rather than pymonad.maybe.Nothing to ease maintenance. Frederick Muriuki Muriithi
2023-02-09auth: users: Check whether a user has an active join request.Frederick Muriuki Muriithi
2023-02-02auth: Reorganise modules/packages for easier dev and maintenance...Split the views/routes into separate modules each dealing with a narrower scope of the application to aid in maintenance, and help with making the development easier. Frederick Muriuki Muriithi