other.py 275 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
from .utils import load_defaults

tmp = load_defaults().DEFAULT_OBJ_MODERATION_PERMISSIONS

OBJ_MODERATION_PERMISSIONS = {}

for key in tmp:
    OBJ_MODERATION_PERMISSIONS[key] = tmp[key]["level"]

DEFAULT_OBJ_MODERATION_LV = OBJ_MODERATION_PERMISSIONS["authenticated_user"]