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