mysqladm::server::sql

Module database_privilege_operations

Source
Expand description

Database privilege operations

This module contains functions for querying, modifying, displaying and comparing database privileges.

A lot of the complexity comes from two core components:

  • The privilege editor that needs to be able to print an editable table of privileges and reparse the content after the user has made manual changes.

  • The comparison functionality that tells the user what changes will be made when applying a set of changes to the list of database privileges.

Structsยง

  • This struct represents the set of privileges for a single user on a single database.

Constantsยง

  • This is the list of fields that are used to fetch the db + user + privileges from the db table in the database. If you need to add or remove privilege fields, this is a good place to start.

Functionsยง