File diff 96596dc5ddb2 → 6d5c24e6354f
symposion/boxes/authorization.py
Show inline comments
...
 
@@ -13,8 +13,8 @@ def default_can_edit(request, *args, **kwargs):
 

	
 
def load_can_edit():
 
    import_path = getattr(settings, "BOXES_CAN_EDIT_CALLABLE", None)
 
    
 

 
    if import_path is None:
 
        return default_can_edit
 
    
 

 
    return load_path_attr(import_path)