aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/groups.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-11-15 06:19:27 +0300
committerFrederick Muriuki Muriithi2022-11-15 06:20:59 +0300
commitb1ee0958815cbb7265d2c5ea3a8374b532054f3b (patch)
treeb6846326d19129f850bee41130b8a7ac4428690c /gn3/auth/authorisation/groups.py
parentb0d4aeb29c059c6dea85a7993149fa1e0697f702 (diff)
downloadgenenetwork3-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.py2
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.",