feat: add role/permission system with tests support #6

Merged
hzhang merged 1 commits from feature/role-permission-system into main 2026-03-15 13:33:50 +00:00
Contributor
  • Add Role model with 17 default permissions
  • Add init_wizard to create admin/guest roles on first startup
  • Protect admin role from modification/deletion via API
  • Fix MilestoneCreate schema (project_id optional)
  • Fix delete role to clean up role_permissions first
  • Add check_project_role RBAC function
- Add Role model with 17 default permissions - Add init_wizard to create admin/guest roles on first startup - Protect admin role from modification/deletion via API - Fix MilestoneCreate schema (project_id optional) - Fix delete role to clean up role_permissions first - Add check_project_role RBAC function
hzhang added 1 commit 2026-03-15 13:33:44 +00:00
- Add Role model with 17 default permissions
- Add init_wizard to create admin/guest roles on first startup
- Protect admin role from modification/deletion via API
- Fix MilestoneCreate schema (project_id optional)
- Fix delete role to clean up role_permissions first
- Add check_project_role RBAC function
hzhang merged commit dc5d06489d into main 2026-03-15 13:33:50 +00:00
hzhang deleted branch feature/role-permission-system 2026-03-15 13:33:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zhi/HarborForge.Backend#6