NET-1932: fix default network user policy (#3469)

* move relevant acl and tag code to CE and Pro pkgs

* intialise pro acl funcs

* list gateways by user access

* check user gw access by policies

* filter out user policies on CE

* filter out tagged policies on CE

* fix ce acl comms

* allow gateways tag

* allow gateway tag  on CE, remove failover and gw check on acl policy

* add gw rules func to pro

* add inet gw support on CE

* add egress acl API

* add egress acl API

* fix(go): set is_gw when converting api node to server node;

* fix(go): set is_gw when converting api node to server node;

* fix policy validity checker for inet gws

* move dns option to host model

* fix node removal from egress policy on delete

* add migration logic for ManageDNS

* fix dns json field

* fix nil error on node tags

* add egress info to relayed nodes

* fix default network user policy

---------

Co-authored-by: Vishal Dalwadi <dalwadivishal26@gmail.com>
This commit is contained in:
Abhishek K 2025-06-02 14:46:02 +05:30 committed by GitHub
parent 5849e0e2e1
commit 08080121b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1273,7 +1273,7 @@ func CreateDefaultUserPolicies(netID models.NetworkID) {
Src: []models.AclPolicyTag{
{
ID: models.UserGroupAclID,
Value: globalNetworksAdminGroupID.String(),
Value: globalNetworksUserGroupID.String(),
},
{
ID: models.UserGroupAclID,