go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vtgate/vschemaacl Index | Files

package vschemaacl

import "gopkg.in/src-d/go-vitess.v1/vt/vtgate/vschemaacl"

Index

Package Files

vschemaacl.go

Variables

var (
    // AuthorizedDDLUsers specifies the users that can perform ddl operations
    AuthorizedDDLUsers = flag.String("vschema_ddl_authorized_users", "", "List of users authorized to execute vschema ddl operations, or '%' to allow all users.")
)

func Authorized Uses

func Authorized(caller *querypb.VTGateCallerID) bool

Authorized returns true if the given caller is allowed to execute vschema operations

func Init Uses

func Init()

Init parses the users option and sets allowAll / acl accordingly

Package vschemaacl imports 3 packages (graph) and is imported by 2 packages. Updated 2019-06-13. Refresh now. Tools for package owners.