diff --git a/netbox/ipam/tables.py b/netbox/ipam/tables.py index 728969738..ea23869dc 100644 --- a/netbox/ipam/tables.py +++ b/netbox/ipam/tables.py @@ -72,11 +72,15 @@ VLAN_LINK = """ """ VLAN_PREFIXES = """ +{% if perms.ipam.view_prefix %} {% for prefix in record.prefixes.all %} {{ prefix }}{% if not forloop.last %}
{% endif %} {% empty %} — {% endfor %} +{% else %} + — +{% endif } """ VLAN_ROLE_LINK = """