aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation')
-rw-r--r--gn_auth/auth/authorisation/resources/models.py3
-rw-r--r--gn_auth/auth/authorisation/resources/phenotype.py1
2 files changed, 1 insertions, 3 deletions
diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py
index 9186380..9931559 100644
--- a/gn_auth/auth/authorisation/resources/models.py
+++ b/gn_auth/auth/authorisation/resources/models.py
@@ -15,8 +15,7 @@ from gn_auth.auth.authorisation.errors import NotFoundError, AuthorisationError
from .checks import authorised_for
from .base import Resource, ResourceCategory
-from .groups.models import (
- Group, GroupRole, user_group, resource_owner, is_group_leader)
+from .groups.models import Group, GroupRole, user_group, is_group_leader
from .mrna import (
resource_data as mrna_resource_data,
attach_resources_data as mrna_attach_resources_data,
diff --git a/gn_auth/auth/authorisation/resources/phenotype.py b/gn_auth/auth/authorisation/resources/phenotype.py
index 6af3b0a..7005db3 100644
--- a/gn_auth/auth/authorisation/resources/phenotype.py
+++ b/gn_auth/auth/authorisation/resources/phenotype.py
@@ -6,7 +6,6 @@ import sqlite3
import gn_auth.auth.db.sqlite3 as db
-from .groups import Group
from .base import Resource
from .data import __attach_data__