netmaker/logic
Abhishek K 5849e0e2e1
NET-1932: sort out acls into CE and PRO (#3460)
* 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

---------

Co-authored-by: Vishal Dalwadi <dalwadivishal26@gmail.com>
2025-06-02 13:05:10 +05:30
..
acls NET-1778: scale test code changes (#3203) 2024-12-10 10:15:31 +04:00
hostactions moved data structure to db 2023-03-03 14:23:51 -05:00
pro/netcache NET-1941: failover signaling optimized, new endpoint for metrics peer info (#3322) 2025-02-14 16:06:26 +04:00
acls.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
auth.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30
clients.go fix extclient allowed Ips 2024-10-29 22:57:58 +04:00
dns.go NET-1950: Persist Server Settings in the DB (#3419) 2025-04-30 02:34:10 +04:00
egress.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
enrollmentkey.go NET-2000: Api access tokens (#3418) 2025-04-23 20:21:42 +04:00
enrollmentkey_test.go NET-2000: Api access tokens (#3418) 2025-04-23 20:21:42 +04:00
errors.go NET-2014: Audit Logging (#3455) 2025-05-21 13:13:20 +05:30
extpeers.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
gateway.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
host_test.go NET-447: Removed proxy related fields and code (#2459) 2023-07-26 11:22:49 +05:30
hosts.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
jwts.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30
legacy.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
metrics.go [NET-546] Move ee code to ee package, unify ee status and terminology (#2538) 2023-09-01 07:42:05 +05:30
networks.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
nodes.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
nodes_test.go NET-1288:add egress range check with netmaker network address (#2978) 2024-07-05 15:53:46 +05:30
peers.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
proc.go NET-1778: scale test code changes (#3203) 2024-12-10 10:15:31 +04:00
relay.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
security.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30
server.go NET-725: Failovers (#2685) 2023-11-29 20:10:07 +04:00
serverconf.go fix(NET-1175): use default trial end date 2024-05-03 12:52:55 +00:00
settings.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30
status.go NET-1956: Async Node Status API (#3341) 2025-02-24 08:48:24 +03:00
telemetry.go convert invited emails to lowercase (#3457) 2025-05-21 17:05:53 +05:30
timer.go add trial license logic 2024-01-19 14:51:51 +05:30
traffic.go add trial license logic 2024-01-19 14:51:51 +05:30
user_mgmt.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
users.go NET-1991 Fixes (#3467) 2025-05-29 12:32:12 +05:30
util.go NET-2000: Api access tokens (#3418) 2025-04-23 20:21:42 +04:00
util_test.go random string 2023-05-02 13:28:00 -04:00
version.go chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
version_test.go chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
wireguard.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
zombie.go NET-2054: Auto Removal of Offline Nodes, fix enrollment key relay function (#3458) 2025-05-24 08:21:47 +05:30