mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-03 19:54:22 +08:00
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:
parent
5849e0e2e1
commit
08080121b9
1 changed files with 1 additions and 1 deletions
|
@ -1273,7 +1273,7 @@ func CreateDefaultUserPolicies(netID models.NetworkID) {
|
|||
Src: []models.AclPolicyTag{
|
||||
{
|
||||
ID: models.UserGroupAclID,
|
||||
Value: globalNetworksAdminGroupID.String(),
|
||||
Value: globalNetworksUserGroupID.String(),
|
||||
},
|
||||
{
|
||||
ID: models.UserGroupAclID,
|
||||
|
|
Loading…
Add table
Reference in a new issue