Add clamp connection

This commit is contained in:
Ian Roddis committed 2026-07-02 13:35:58 -03:00
1 parent 0168b023af
commit 59184124e7
14 files changed
+452 -2

No files matched your search

+4 -1
View File
@@ -56,6 +56,9 @@ PERMISSIONS = [
("static_connections:read", "View static connections"),
("static_connections:write", "Create and update static connections"),
("static_connections:delete", "Delete static connections"),
("clamp_connections:read", "View clamp connections"),
("clamp_connections:write", "Create and update clamp connections"),
("clamp_connections:delete", "Delete clamp connections"),
("augmented_parts:read", "View augmented parts"),
("augmented_parts:write", "Create and update augmented parts"),
("augmented_parts:delete", "Delete augmented parts"),
@@ -65,7 +68,7 @@ PERMISSIONS = [
# Default roles -> permission names. "admin" gets everything.
ROLES = {
"admin": [name for name, _ in PERMISSIONS], # includes audit_log:read
"user": ["users:read", "iso_threads:read", "unc_threads:read", "manufacturers:read", "scope_models:read", "part_colours:read", "part_types:read", "sub_part_types:read", "imported_parts:read", "static_connections:read", "augmented_parts:read"],
"user": ["users:read", "iso_threads:read", "unc_threads:read", "manufacturers:read", "scope_models:read", "part_colours:read", "part_types:read", "sub_part_types:read", "imported_parts:read", "static_connections:read", "clamp_connections:read", "augmented_parts:read"],
}