func ValidateControllerAccess(access Access) error {
	switch access {
	case LoginAccess, SuperuserAccess:
		return nil
	}
	return errors.NotValidf("%q controller access", access)
}
//ValidateControllerAccess returns error if the passed access is not a valid
// controller access level.
ValidateControllerAccess returns error if the passed access is not a valid
controller access level.
// ValidateControllerAccess returns error if the passed access is not a valid // controller access level .
func ValidateControllerAccess(access Access) error {
	switch access {
	case LoginAccess, SuperuserAccess:
		return nil
	}
	return errors.NotValidf("%q controller access", access)
}
func ValidateControllerAccess ( access Access ) error { switch access { case LoginAccess , SuperuserAccess : return nil } return errors . NotValidf ( " " , access ) }
ValidateControllerAccess returns error if the passed access is not a valid
controller access level.
ValidateControllerAccess returns error if the passed access is not a valid controller access level .