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