diff --git a/core/inventory/api_v2.py b/core/inventory/api_v2.py index ef3ae90..0a34140 100644 --- a/core/inventory/api_v2.py +++ b/core/inventory/api_v2.py @@ -22,7 +22,7 @@ class ContainerViewSet(viewsets.ModelViewSet): @api_view(['GET']) @permission_classes([IsAuthenticated]) -#@permission_required('view_item', raise_exception=True) +@permission_required('view_item', raise_exception=True) def search_items(request, event_slug, query): try: event = Event.objects.get(slug=event_slug) diff --git a/web/src/App.vue b/web/src/App.vue index cad130c..83a3bb2 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,10 +1,10 @@ diff --git a/web/src/components/AsyncLoader.vue b/web/src/components/AsyncLoader.vue deleted file mode 100644 index 393175c..0000000 --- a/web/src/components/AsyncLoader.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - - - \ No newline at end of file diff --git a/web/src/components/Navbar.vue b/web/src/components/Navbar.vue index 686f324..fb0736b 100644 --- a/web/src/components/Navbar.vue +++ b/web/src/components/Navbar.vue @@ -29,7 +29,16 @@ - +
+ +