Documentation ¶
Index ¶
- func Disable()
- func Enable()
- func IsEnabled() bool
- func IsInvisibleSchema(dbName string) bool
- func IsInvisibleStatusVar(varName string) bool
- func IsInvisibleSysVar(varNameInLower string) bool
- func IsInvisibleTable(dbLowerName, tblLowerName string) bool
- func IsRestrictedPrivilege(privNameInUpper string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disable ¶
func Disable()
Disable disables SEM. This is intended to be used by the test-suite. Dynamic configuration by users may be a security risk.
func Enable ¶
func Enable()
Enable enables SEM. This is intended to be used by the test-suite. Dynamic configuration by users may be a security risk.
func IsInvisibleSchema ¶
IsInvisibleSchema returns true if the dbName needs to be hidden when sem is enabled.
func IsInvisibleStatusVar ¶
IsInvisibleStatusVar returns true if the status var needs to be hidden
func IsInvisibleSysVar ¶
IsInvisibleSysVar returns true if the sysvar needs to be hidden
func IsInvisibleTable ¶
IsInvisibleTable returns true if the table needs to be hidden when sem is enabled.
func IsRestrictedPrivilege ¶
IsRestrictedPrivilege returns true if the privilege shuld not be satisfied by SUPER As most dynamic privileges are.
Types ¶
This section is empty.