risingwave_frontend::user

Function has_access_to_object

source
pub fn has_access_to_object(
    current_user: &UserCatalog,
    schema_name: &str,
    obj_id: u32,
    owner_id: u32,
) -> bool
Expand description

Check if the current user has access to the object.