83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
15 lines
349 B
Go
15 lines
349 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package acl
|
|
|
|
// AuthorizerContext stub
|
|
type AuthorizerContext struct{}
|
|
|
|
// enterpriseAuthorizer stub interface
|
|
type enterpriseAuthorizer interface{}
|
|
|
|
func enforceEnterprise(_ Authorizer, _ Resource, _ string, _ string, _ *AuthorizerContext) (bool, EnforcementDecision, error) {
|
|
return false, Deny, nil
|
|
}
|