aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/decorators.py
AgeCommit message (Collapse)Author
2024-03-26Import user_logged_in from the clients module.Munyoki Kilyungi
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>
2024-03-26Correctly wrap the "__build_access_checker__" function.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Rename "required_access" to "required_trait_access".Munyoki Kilyungi
* 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>
2024-03-26Remove unused imports.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Delete "edit_access_required" decorator.Munyoki Kilyungi
* 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>
2023-12-29Namespace all modules under gn2.Arun Isaac
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.