aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/privileges
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/privileges')
-rw-r--r--gn_auth/auth/authorisation/privileges/__init__.py1
-rw-r--r--gn_auth/auth/authorisation/privileges/views.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/gn_auth/auth/authorisation/privileges/__init__.py b/gn_auth/auth/authorisation/privileges/__init__.py
index 18c7f5d..c99031d 100644
--- a/gn_auth/auth/authorisation/privileges/__init__.py
+++ b/gn_auth/auth/authorisation/privileges/__init__.py
@@ -1,5 +1,6 @@
"""Package for Privileges."""
from .models import (Privilege,
user_privileges,
+ privilege_by_id,
privileges_by_ids,
db_row_to_privilege)
diff --git a/gn_auth/auth/authorisation/privileges/views.py b/gn_auth/auth/authorisation/privileges/views.py
index d50e5cb..75ac8e3 100644
--- a/gn_auth/auth/authorisation/privileges/views.py
+++ b/gn_auth/auth/authorisation/privileges/views.py
@@ -1,6 +1,4 @@
"""Routes for privileges."""
-from dataclasses import asdict
-
from werkzeug.exceptions import NotFound
from flask import jsonify, Blueprint, current_app as app