mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-19 07:33:18 +02:00
Fix sidebar navigation not respecting user permissions
Sidebar nav items (Archives, Queue, Stats, Profiles, Maintenance, Projects, Inventory, Files) were visible to all users regardless of role permissions — only Settings was gated. Now each item is hidden when the user lacks the corresponding read permission. Printers remains always visible as the home page. Also adds missing inventory:read|create|update|delete to the frontend Permission type (existed in backend but was absent from the frontend type definition).
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -25,6 +25,7 @@
|
||||
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<script type="module" crossorigin src="/assets/index-CxFtC4Kb.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DJjXosw8.css">
|
||||
@@ -37,6 +38,9 @@
|
||||
=======
|
||||
<script type="module" crossorigin src="/assets/index-BfXsQTz2.js"></script>
|
||||
>>>>>>> 1eeeb37 ( Updated commit message (now includes the test fix):)
|
||||
=======
|
||||
<script type="module" crossorigin src="/assets/index-rCstaUXR.js"></script>
|
||||
>>>>>>> 65c904b ( Fix sidebar navigation not respecting user permissions)
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BW78djlt.css">
|
||||
>>>>>>> ce97a47 ( Add H2C dual nozzle variant O1C2 model support (#489))
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user