Skip to content

Commit

Permalink
added suppliers to Warehouse manager only list
Browse files Browse the repository at this point in the history
  • Loading branch information
yassyass2 committed Jan 21, 2025
1 parent 5877c4f commit d6d0bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CargoHubV2/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def api_key_middleware(request: Request, call_next):
# anders kan de documentatie niet bereikt worden
excluded = ["/favicon.ico", "/openapi.json", "/docs"]

w_man_only = ["v2/reports", "v2/warehouses", "v2/clients"]
w_man_only = ["v2/reports", "v2/warehouses", "v2/clients", "v2/suppliers"]
all_managers = ["v2/item_groups", "v2/item_lines", "v2/item_types", "v2/items",
"v2/shipments", "v2/docks"]
all = ["v2/locations", "v2/transfers", "v2/orders", "v2/inventories",
Expand Down

0 comments on commit d6d0bae

Please sign in to comment.