netmaker/models
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
..
accessToken.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
acl.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
api_host.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
api_node.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
dnsEntry.go NET-1603: Manage DNS NM changes (#3124) 2024-10-29 13:53:45 +04:00
egress.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
enrollment_key.go NET-2000: Api access tokens (#3418) 2025-04-23 20:21:42 +04:00
error.go
events.go add sync,upragde,refresh keys events 2025-05-22 15:47:57 +05:30
extclient.go Merge pull request #3396 from gravitl/release-v0.30.0 2025-03-25 17:02:34 +04:00
gateway.go NET-1914: add gw apis, move relays into CE (#3309) 2025-01-28 11:28:31 +05:30
host.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
intclient.go
metrics.go NET-1923: Add Metric Port to server config (#3306) 2025-02-04 08:44:24 +04:00
migrate.go migration (#2509) 2023-08-14 23:14:10 +05:30
mqtt.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
names.go use name generator 2024-10-24 14:02:39 +04:00
network.go add nameservers to network settings 2025-02-28 21:27:18 +04:00
network_test.go use channels for sync 2023-02-14 07:01:38 -05:00
node.go NET-1932: sort out acls into CE and PRO (#3460) 2025-06-02 13:05:10 +05:30
settings.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30
ssocache.go
structs.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
tags.go migrate remote access gw tags 2025-03-11 00:50:44 +04:00
user_mgmt.go NET-1991: Add IDP sync functionality. (#3428) 2025-05-21 13:48:15 +05:30