aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/groups/models.py
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-05-25Script to assign existing data to publicly-visible resources...A script to assign existing data not assigned to any group to publicly-visible resources. Frederick Muriuki Muriithi
2023-04-27auth: Add authorisation checks for role editting.Frederick Muriuki Muriithi
2023-04-25auth: Roles: Check for editability...Some roles should not be user-editable, and as such, we need to check before allowing any edits on such roles. This commit makes that possible. 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-07auth: group_roles: Enable addition/deletion of privilegesFrederick Muriuki Muriithi
2023-03-07auth: user_by_id: Return a user or raise an exception...Fetching the user by id should return the user, or raise an exception. We get rid of the Maybe monad here since it is leading to some weird code flows - probably the wrong monad to use here. Frederick Muriuki Muriithi
2023-03-03auth: Enable viewing group role details.Frederick Muriuki Muriithi
2023-02-09auth: Reject request to join a group....* gn3/auth/authorisation/groups/models.py: Modify function to either accept or reject join requests. * gn3/auth/authorisation/groups/views.py: Provide endpoint to reject join requests. * migrations/auth/20230207_01_r0bkZ-create-group-join-requests-table.py: Prevent user from applying to join the same group more than once. Frederick Muriuki Muriithi
2023-02-08auth: groups: handle join requests.Frederick Muriuki Muriithi
2023-02-06auth: resource: Enable viewing the details of a resource.Frederick Muriuki Muriithi
2023-02-02auth: Improve authorisation...Retrieve the token, and user in the authorisation decorator to enable checking of privileges. 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