From 59e50d346b74afc76eaf31a7a6228f8327aab24e Mon Sep 17 00:00:00 2001 From: Andrew Dickinson Date: Wed, 11 Dec 2024 12:19:41 -0500 Subject: [PATCH] Grant installers link add permissions --- src/meshapi/management/commands/create_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshapi/management/commands/create_groups.py b/src/meshapi/management/commands/create_groups.py index 3bc98c89..2e2cc2b6 100644 --- a/src/meshapi/management/commands/create_groups.py +++ b/src/meshapi/management/commands/create_groups.py @@ -46,7 +46,7 @@ def create_base_groups(self) -> None: if (act == "change" and obj in models) or (act == "view" and obj in models) or code == "assign_nn": installer.permissions.add(p) - if act == "add" and obj == "accesspoint": + if act == "add" and obj in ["accesspoint", "link"]: installer.permissions.add(p) # admin