code: func (s *Server) fetchLocalLegacyACLs() (structs.ACLs, error) {
  	_, local, err := s.fsm.State().ACLTokenList(nil, false, true, "", "", "")
  	if err != nil {
  		return nil, err
  	}
  
  	now := time.Now()
  
  	var acls structs.ACLs
  	for _, token := range local {
  		if token.IsExpired(now) {
  			continue
  		}
  		if acl, err := token.Convert(); err == nil && acl != nil {
  			acls = append(acls, acl)
  		}
  	}
  
  	return acls, nil
  }
docs: // FetchLocalACLs returns the ACLs in the local state store.