(view_fn)
return locations_access_required(
        require_permission('edit_locations')(view_fn)
    )
Decorator verifying that the user has permission to edit individual locations.
Decorator verifying that the user has permission to edit individual locations.
Decorator verifying that the user has permission to edit individual locations .
def require_can_edit_locations(view_fn):
    """Decorator verifying that the user has permission to edit individual locations."""
    return locations_access_required(
        require_permission('edit_locations')(view_fn)
    )
def require_can_edit_locations ( view_fn ) : return locations_access_required ( require_permission ( 'edit_locations' ) ( view_fn ) )