sem

package
v1.1.0-beta.0...-a3c9b79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 IsEnabled

func IsEnabled() bool

IsEnabled checks if Security Enhanced Mode (SEM) is enabled

func IsInvisibleSchema

func IsInvisibleSchema(dbName string) bool

IsInvisibleSchema returns true if the dbName needs to be hidden when sem is enabled.

func IsInvisibleStatusVar

func IsInvisibleStatusVar(varName string) bool

IsInvisibleStatusVar returns true if the status var needs to be hidden

func IsInvisibleSysVar

func IsInvisibleSysVar(varNameInLower string) bool

IsInvisibleSysVar returns true if the sysvar needs to be hidden

func IsInvisibleTable

func IsInvisibleTable(dbLowerName, tblLowerName string) bool

IsInvisibleTable returns true if the table needs to be hidden when sem is enabled.

func IsRestrictedPrivilege

func IsRestrictedPrivilege(privNameInUpper string) bool

IsRestrictedPrivilege returns true if the privilege shuld not be satisfied by SUPER As most dynamic privileges are.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL