mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
80d13d500b
• Renamed EnterpriseACLConfig to just Config • Removed chained_authorizer_oss.go as it was empty • Renamed acl.go to errors.go to more closely describe its contents
14 lines
327 B
Go
14 lines
327 B
Go
// +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
|
|
}
|