Function grant_default_privileges_automatically

Source
pub async fn grant_default_privileges_automatically<C>(
    db: &C,
    object_id: ObjectId,
) -> MetaResult<Vec<PbUserInfo>>
where C: ConnectionTrait,
Expand description

grant_default_privileges_automatically grants default privileges automatically for the given new object. It returns the list of user infos whose privileges are updated.