c15c81a7ed
* Implement endpoint to query whether the given token is authorized for a set of operations * Updates to allow for remote ACL authorization via RPC This is only used when making an authorization request to a different datacenter.
14 lines
357 B
Go
14 lines
357 B
Go
// +build !consulent
|
|
|
|
package acl
|
|
|
|
// EnterpriseAuthorizerContext stub
|
|
type EnterpriseAuthorizerContext struct{}
|
|
|
|
// EnterpriseAuthorizer stub interface
|
|
type EnterpriseAuthorizer interface{}
|
|
|
|
func EnforceEnterprise(_ Authorizer, _ Resource, _ string, _ string, _ *EnterpriseAuthorizerContext) (bool, EnforcementDecision, error) {
|
|
return false, Deny, nil
|
|
}
|