Module base

Module base 

Source
Expand description

This module contains some base datastructures and functionality for dealing with database privileges in MySQL.

Structs§

DatabasePrivilegeRow
Representation of the set of privileges for a single user on a single database.

Constants§

DATABASE_PRIVILEGE_FIELDS
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§

db_priv_field_human_readable_name
Converts a database privilege field name to a human-readable name.