Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from ebboyer/master
Browse files Browse the repository at this point in the history
Floorplan Tab View - Permissions Fix
  • Loading branch information
tbotnz authored Nov 15, 2023
2 parents ec5b3d8 + 163d792 commit a65835a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox_floorplan/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FloorplanSiteTabView(generic.ObjectView):
tab = ViewTab(
label='Floor Plan',
hide_if_empty=False,
permission="netbox_floorplan.view_floorplanobject",
permission="netbox_floorplan.view_floorplan",
)
template_name = "netbox_floorplan/floorplan_view.html"

Expand All @@ -38,7 +38,7 @@ class FloorplanLocationTabView(generic.ObjectView):
tab = ViewTab(
label="Floor Plan",
hide_if_empty=False,
permission="netbox_floorplan.view_floorplanobject",
permission="netbox_floorplan.view_floorplan",
)
template_name = "netbox_floorplan/floorplan_view.html"

Expand Down

0 comments on commit a65835a

Please sign in to comment.