mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 01:20:32 +00:00
rm print code;
This commit is contained in:
@@ -74,11 +74,6 @@ ENABLED_ROLE_PERMISSIONS = merge_roles(
|
|||||||
DEFAULT_ENABLED_ROLE_PERMISSIONS, custom_role_permissions
|
DEFAULT_ENABLED_ROLE_PERMISSIONS, custom_role_permissions
|
||||||
)
|
)
|
||||||
|
|
||||||
if settings.DEBUG and custom_role_permissions:
|
|
||||||
from pprint import pprint
|
|
||||||
print('=== ENABLED ROLE PERMISSIONS ===')
|
|
||||||
pprint(ENABLED_ROLE_PERMISSIONS)
|
|
||||||
|
|
||||||
# role permission for administraror
|
# role permission for administraror
|
||||||
|
|
||||||
# 1, Admin without a role or with a role of `default_admin` can view ALL pages.
|
# 1, Admin without a role or with a role of `default_admin` can view ALL pages.
|
||||||
|
Reference in New Issue
Block a user