aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/decorators.py
AgeCommit message (Expand)Author
2024-03-26Import user_logged_in from the clients module....Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Correctly wrap the "__build_access_checker__" function....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Rename "required_access" to "required_trait_access"....* gn2/wqflask/decorators.py (required_access): Rename this to ... (required_trait_access): ... this. * gn2/wqflask/metadata_edits.py: Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Delete "edit_access_required" decorator....* gn2/wqflask/decorators.py (edit_access_required): Delete. * gn2/wqflask/resource_manager.py: Delete references to "edit_access_required". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-12-29Namespace all modules under gn2....We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. Arun Isaac