mirror of https://github.com/status-im/consul.git
Add stub methods for ACL/segment bug fix from enterprise
This commit is contained in:
parent
ca6e866232
commit
7c57837908
|
@ -91,6 +91,7 @@ func (s *Server) updateACLAdvertisement() {
|
||||||
|
|
||||||
// always advertise to all the LAN Members
|
// always advertise to all the LAN Members
|
||||||
lib.UpdateSerfTag(s.serfLAN, "acls", string(structs.ACLModeEnabled))
|
lib.UpdateSerfTag(s.serfLAN, "acls", string(structs.ACLModeEnabled))
|
||||||
|
s.updateSegmentACLAdvertisements()
|
||||||
|
|
||||||
if s.serfWAN != nil {
|
if s.serfWAN != nil {
|
||||||
// advertise on the WAN only when we are inside the ACL datacenter
|
// advertise on the WAN only when we are inside the ACL datacenter
|
||||||
|
|
|
@ -16,3 +16,6 @@ func (s *Server) ResolveEntTokenToIdentityAndAuthorizer(token string) (structs.A
|
||||||
func (s *Server) validateEnterpriseToken(identity structs.ACLIdentity) error {
|
func (s *Server) validateEnterpriseToken(identity structs.ACLIdentity) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Consul-enterprise only
|
||||||
|
func (s *Server) updateSegmentACLAdvertisements() {}
|
||||||
|
|
Loading…
Reference in New Issue