mysqladm::server::sql::database_privilege_operations

Function apply_privilege_diffs

Source
pub async fn apply_privilege_diffs(
    database_privilege_diffs: BTreeSet<DatabasePrivilegesDiff>,
    unix_user: &UnixUser,
    connection: &mut MySqlConnection,
) -> BTreeMap<(MySQLDatabase, MySQLUser), Result<(), ModifyDatabasePrivilegesError>>
Expand description

Uses the result of [diff_privileges] to modify privileges in the database.