index
:
gn-auth
enable-key-rotation
enable-sending-emails
handle-role-privilege-escalation
main
GN authentication and authorization service
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
gn_auth
/
auth
/
authorisation
/
resources
/
views.py
Age
Commit message (
Expand
)
Author
2024-09-16
Rename blueprint and register it one level lower
Frederick Muriuki Muriithi
2024-09-16
Pass cursor rather than connection to create_resource function
Frederick Muriuki Muriithi
2024-08-05
Fix linting errors.
Frederick Muriuki Muriithi
2024-08-01
Handle generic exception and return a value.
enable-key-rotation
Frederick Muriuki Muriithi
2024-07-31
Ignore warning from mypy.
Frederick Muriuki Muriithi
2024-07-31
Remove obsoleted SSL_PRIVATE_KEY configuration
Frederick Muriuki Muriithi
2024-06-25
Roles: Get rid of use of GroupRole; use Role directly for resources
Frederick Muriuki Muriithi
2024-06-18
fix mypy errors
Frederick Muriuki Muriithi
2024-06-17
Fix mypy errors
Frederick Muriuki Muriithi
2024-06-17
Fix linting errors
Frederick Muriuki Muriithi
2024-06-17
Retrieve complete list of a users roles on a particular resource.
Frederick Muriuki Muriithi
2024-06-17
Fix linting errors.
Frederick Muriuki Muriithi
2024-06-17
Create a resource role.
Frederick Muriuki Muriithi
2024-06-17
Use the form's json attribute to retrieve sent data
Frederick Muriuki Muriithi
2024-06-11
Fix typo.
Frederick Muriuki Muriithi
2024-06-11
Temporary fix to retrieve users with read access to resource.
Frederick Muriuki Muriithi
2024-06-11
List users assigned a particular role on a specific resource.
handle-role-privilege-escalation
Frederick Muriuki Muriithi
2024-06-11
Import the symbols we use in the module directly.
Frederick Muriuki Muriithi
2024-06-11
Unassign privilege from resource role.
Frederick Muriuki Muriithi
2024-06-10
Fetch a role by its ID.
Frederick Muriuki Muriithi
2024-06-10
Use new db resultset conversion functions.
Frederick Muriuki Muriithi
2024-06-10
Provide resource roles endpoint
Frederick Muriuki Muriithi
2024-06-10
Share reusable function
Frederick Muriuki Muriithi
2024-06-07
Replace `…/group/roles` endpoint with `…/resource/…/roles` endpoint.
Frederick Muriuki Muriithi
2024-06-03
Move user creation from db resultset into static method
Frederick Muriuki Muriithi
2024-04-30
Create a JWT token when querying a user's role an a resource.
Munyoki Kilyungi
2024-04-24
Move the errors module up one level to break circular dependencies.
Frederick Muriuki Muriithi
2024-03-25
Flatten roles list in "get_user_roles_on_resource."
Munyoki Kilyungi
2024-03-21
Add extra endpoint to get user authorisation given a resource name.
Munyoki Kilyungi
2024-03-13
Define Resource/ResourceCategory using frozen dataclass.
Munyoki Kilyungi
2024-03-13
Define Privilege/Role using frozen dataclass.
Munyoki Kilyungi
2024-03-13
Define Group using a frozen dataclass.
Munyoki Kilyungi
2024-03-13
Define User using a frozen dataclass.
Munyoki Kilyungi
2023-11-02
pylint: Fix linting errors.
Frederick Muriuki Muriithi
2023-10-10
Get authorisation by resource_ids
Frederick Muriuki Muriithi
2023-09-27
linting: Remove unused import, handle unused variable
Frederick Muriuki Muriithi
2023-09-27
Bug: Fix issue with viewing resources of type "group".
Frederick Muriuki Muriithi
2023-09-26
Add `public-view` role. Assign it to users.
Frederick Muriuki Muriithi
2023-09-26
Move `groups` package under `resources` package
Frederick Muriuki Muriithi
2023-09-26
Raise exception if no group for `resource_group`
Frederick Muriuki Muriithi
2023-09-26
Add `resource_group` function to retrieve the owning group
Frederick Muriuki Muriithi
2023-08-08
Use relative imports to break circular import errors
Frederick Muriuki Muriithi
2023-08-08
Fix issues caught by linter
Frederick Muriuki Muriithi
2023-08-07
Change imports to new unified db module.
Frederick Muriuki Muriithi
2023-08-07
Update module name/path
Frederick Muriuki Muriithi
2023-08-04
Copy over files from GN3 repository.
Frederick Muriuki Muriithi