mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Extract user utility code into own module
This provides more room for expansion, and reduces the amount of arbitrary code in the __init__.py file for the new package.
This commit is contained in:
@@ -19,7 +19,8 @@ from app.main.forms import (
|
||||
SearchByNameForm,
|
||||
)
|
||||
from app.models.broadcast_message import BroadcastMessage, BroadcastMessages
|
||||
from app.utils import service_has_permission, user_has_permissions
|
||||
from app.utils import service_has_permission
|
||||
from app.utils.user import user_has_permissions
|
||||
|
||||
|
||||
def _get_back_link_from_view_broadcast_endpoint():
|
||||
|
||||
Reference in New Issue
Block a user