Function _set_permissions

Source
async fn _set_permissions(
    ctx: AppCtx,
    ref_id: Uuid,
    new: NewPermissions,
) -> Result<(), AppError>