
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview
Implement backend API and controller support for the new Organization and OrganizationRole models introduced in #5962. This enables organizations, membership, roles and invitation workflows to be managed
Complexity: Medium
Target branch: feature_organization_model
Context
Issue #5962 introduces the Organization and OrganizationRole models. Additional backend work is needed to support creating, updating, and managing organizations and memberships.
The Change
Add API and controller layer support for organizations and roles:
- Implement REST API endpoints for:
- Organization CRUD (create, read, update, delete)
- Organization membership listing
- Role assignment and updates
- Invitation handling (invite, accept, reject if applicable)
- Add permission checks based on
OrganizationRole.permissions
- Ensure only authorized users can modify organization data
- Add pagination/filtering where appropriate
- Add API tests for all endpoints
Out of Scope
Acceptance Criteria
Testing
- Automated tests cover organization management functionality
- Automated tests verify permission enforcement
- Automated tests cover membership and role management scenarios
AI usage
Used AI to create an initial draft, then edited and reviewed carefully focusing on expected behavior
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Implement backend API and controller support for the new Organization and OrganizationRole models introduced in #5962. This enables organizations, membership, roles and invitation workflows to be managed
Complexity: Medium
Target branch: feature_organization_model
Context
Issue #5962 introduces the Organization and OrganizationRole models. Additional backend work is needed to support creating, updating, and managing organizations and memberships.
The Change
Add API and controller layer support for organizations and roles:
- Organization CRUD (create, read, update, delete)
- Organization membership listing
- Role assignment and updates
- Invitation handling (invite, accept, reject if applicable)
OrganizationRole.permissionsOut of Scope
Acceptance Criteria
Testing
AI usage
Used AI to create an initial draft, then edited and reviewed carefully focusing on expected behavior