This commit is contained in:
Kenneth Kehl
2024-07-16 09:57:07 -07:00
parent 329d9d7a49
commit 5a2ab02da6
3 changed files with 26 additions and 5 deletions

View File

@@ -227,7 +227,9 @@ class User(JSONModel, UserMixin):
if not service_id and not org_id:
# we shouldn't have any pages that require permissions, but don't specify a service or organization.
# use @user_is_platform_admin for platform admin only pages
raise NotImplementedError
# raise NotImplementedError
print(f"VIEW ARGS ARE {request.view_args}")
pass
log_msg = f"has_permissions user: {self.id} service: {service_id}"
# platform admins should be able to do most things (except eg send messages, or create api keys)