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

1 Commits

Author SHA1 Message Date
61e3349ca4 feat: add role/permission system with tests support
- 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
2026-03-15 12:25:59 +00:00