Skip to main content

actor_owns_appointment

Function actor_owns_appointment 

pub fn actor_owns_appointment(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    user_id: i64,
    appointment_id: i64,
) -> Result<bool, DatabaseError>
Expand description

Authorizes an appointment customer, business owner or active manager uniformly.