Merge pull request #7373 from hashicorp/acl-segments-fix

Add stub methods for ACL/segment bug fix from enterprise
This commit is contained in:
Kyle Havlovitz 2020-03-09 14:25:49 -07:00 committed by GitHub
commit 955ee64b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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() {}