e4087104a9
feat(security): add model rules enforcement for update and delete operations
...
- Implement BeforeUpdate and BeforeDelete hooks to enforce CanUpdate and CanDelete rules.
- Introduce new security context for websocketspec to manage security hooks.
- Enhance error handling in delete operations to provide clearer feedback.
2026-02-28 22:53:21 +02:00
Hein
5862016031
Added ModelRules
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-12 10:13:11 +02:00
Hein
76e98d02c3
Added modelregistry.GetDefaultRegistry
2025-12-09 12:12:10 +02:00
Hein
b741958895
Code sanity fixes, added middlewares
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-08 08:28:43 +02:00
Hein
66b6a0d835
Better registry handling
Tests / Run Tests (1.23.x) (push) Waiting to run
Tests / Run Tests (1.24.x) (push) Waiting to run
Tests / Lint Code (push) Waiting to run
Tests / Build (push) Waiting to run
2025-11-19 18:29:24 +02:00
Hein
456c165814
Fixed models being icorrectly set and added SetDefaultRegistry
2025-11-19 18:22:56 +02:00
Hein
850d7b546c
Added modelregistry.AddRegistry
2025-11-19 18:18:18 +02:00
Hein
682716dd31
Linting fixes
2025-11-11 11:03:02 +02:00
Hein
e88018543e
Reflect safty
2025-11-07 09:47:12 +02:00
Hein
d122c7af42
Updated how model registry works
2025-11-07 08:26:50 +02:00
Hein
8e06736701
Massive refactor and introduction of restheadspec
2025-11-06 16:15:35 +02:00