mirror of https://github.com/status-im/consul.git
Merge pull request #7373 from hashicorp/acl-segments-fix
Add stub methods for ACL/segment bug fix from enterprise
This commit is contained in:
commit
955ee64b95
|
@ -91,6 +91,7 @@ func (s *Server) updateACLAdvertisement() {
|
|||
|
||||
// always advertise to all the LAN Members
|
||||
lib.UpdateSerfTag(s.serfLAN, "acls", string(structs.ACLModeEnabled))
|
||||
s.updateSegmentACLAdvertisements()
|
||||
|
||||
if s.serfWAN != nil {
|
||||
// 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 {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Consul-enterprise only
|
||||
func (s *Server) updateSegmentACLAdvertisements() {}
|
||||
|
|
Loading…
Reference in New Issue