You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/acl/authorizer_oss.go

15 lines
349 B

//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
}