From e19b01571ce61e01f482a1dadeeb2fd835fda939 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 14 Sep 2023 12:06:23 +0300 Subject: Move `groups` package under `resources` package With user groups being resources that users can act on (with the recent changes), this commit moves the `groups` module to under the `resources` module. It also renames the `*_resources.py` modules by dropping the `_resources` part since the code is under the `resources` module anyway. --- gn_auth/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/views.py') diff --git a/gn_auth/auth/views.py b/gn_auth/auth/views.py index 56eace7..cd1cb6f 100644 --- a/gn_auth/auth/views.py +++ b/gn_auth/auth/views.py @@ -7,8 +7,8 @@ from .authorisation.data.views import data from .authorisation.users.views import users from .authorisation.users.admin import admin from .authorisation.roles.views import roles -from .authorisation.groups.views import groups from .authorisation.resources.views import resources +from .authorisation.resources.groups.views import groups oauth2 = Blueprint("oauth2", __name__) -- cgit v1.2.3