1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

rm print code;

This commit is contained in:
lian
2019-08-12 18:27:20 +08:00
parent bcb041e744
commit 07c0b4d3e3

View File

@@ -74,11 +74,6 @@ ENABLED_ROLE_PERMISSIONS = merge_roles(
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
# 1, Admin without a role or with a role of `default_admin` can view ALL pages.