diff options
author | Frederick Muriuki Muriithi | 2022-11-15 06:19:27 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-15 06:20:59 +0300 |
commit | b1ee0958815cbb7265d2c5ea3a8374b532054f3b (patch) | |
tree | b6846326d19129f850bee41130b8a7ac4428690c /gn3/auth/authorisation/groups.py | |
parent | b0d4aeb29c059c6dea85a7993149fa1e0697f702 (diff) | |
download | genenetwork3-b1ee0958815cbb7265d2c5ea3a8374b532054f3b.tar.gz |
auth: Reorganise package - move function to `checks` module
* gn3/auth/authorisation/__init__.py: delete function
* gn3/auth/authorisation/checks.py: move function to `checks` module
Diffstat (limited to 'gn3/auth/authorisation/groups.py')
-rw-r--r-- | gn3/auth/authorisation/groups.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/groups.py b/gn3/auth/authorisation/groups.py index 5290196..1be9f61 100644 --- a/gn3/auth/authorisation/groups.py +++ b/gn3/auth/authorisation/groups.py @@ -2,7 +2,7 @@ import uuid from gn3.auth import db -from . import authorised_p +from .checks import authorised_p @authorised_p( ("create-group",), success_message="Successfully created group.", |