Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AuthorizedDDLUsers specifies the users that can perform ddl operations AuthorizedDDLUsers string )
Functions ¶
func Authorized ¶
func Authorized(caller *querypb.VTGateCallerID) bool
Authorized returns true if the given caller is allowed to execute vschema operations
func RegisterSchemaACLFlags ¶ added in v0.15.0
RegisterSchemaACLFlags installs log flags on the given FlagSet.
`go/cmd/*` entrypoints should either use servenv.ParseFlags(WithArgs)? which calls this function, or call this function directly before parsing command-line arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.