assert_permission_with

Function assert_permission_with 

Source
pub fn assert_permission_with(
    permission: &Permission,
    owner: Principal,
    caller: Principal,
    controllers: &Controllers,
    is_allowed_controller: fn(UserId, &Controllers) -> bool,
) -> bool