mz_mysql_util::privileges

Function get_object_grant

Source
fn get_object_grant(grant: &str) -> Option<MySqlObjectGrant>
Expand description

Parses a returned row of a SHOW GRANTS statement to return a MySqlObjectGrant If the grant is not on an object (e.g. a grant of a role to a user), returns None