Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add Group Sector #457

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Feature: Add Group Sector #457

wants to merge 3 commits into from

Conversation

ericosta-dev
Copy link
Contributor

Introduces new models and API endpoints for Group Sectors:

  • Created GroupSector and GroupSectorAuthorization models
  • Added serializers and viewsets for Group Sector management
  • Implemented actions to add/remove sectors and authorizations
  • Registered new Group Sector router endpoint

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)
  • Do we need to implement analytics?

What

Please provide a short description of the purpose of this pull request.

Why

Explain why the proposed change is necessary.

Introduces new models and API endpoints for Group Sectors:
- Created GroupSector and GroupSectorAuthorization models
- Added serializers and viewsets for Group Sector management
- Implemented actions to add/remove sectors and authorizations
- Registered new Group Sector router endpoint
- Extracted Group Sector Authorization logic into dedicated use cases
- Added new viewset for Group Sector Authorization with create and delete methods
- Updated serializers and models to support more flexible authorization management
- Implemented transactional methods for adding/removing sectors and authorizations
Implement Group Sector Authorization logic during queue creation:
- Check for existing group sectors for a queue's sector
- Execute Group Sector Authorization creation use case when group sectors exist
- Integrate with existing queue creation workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant