Editor Support

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jason
2026-05-05 15:42:30 -05:00
parent 9f7c078ccc
commit 29154bd651
32 changed files with 3698 additions and 17 deletions
+7
View File
@@ -269,6 +269,10 @@
<input type="checkbox" id="perm_manage_users" value="manage_users">
<label for="perm_manage_users">Manage Users</label>
</div>
<div class="location-item">
<input type="checkbox" id="perm_manage_products" value="manage_products">
<label for="perm_manage_products">Manage Products</label>
</div>
<div class="location-item">
<input type="checkbox" id="perm_create_quotes" value="create_quotes">
<label for="perm_create_quotes">Create Quotes</label>
@@ -389,6 +393,9 @@
if (document.getElementById('perm_manage_users').checked) {
permissions.manage_users = true;
}
if (document.getElementById('perm_manage_products').checked) {
permissions.manage_products = true;
}
if (document.getElementById('perm_create_quotes').checked) {
permissions.create_quotes = true;
}