Skip to content

[AIDAPP-638]: Introduce the ability to assign teams or users to a project #610

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

Conversation

ketan-canyon
Copy link
Contributor

Ticket(s) or GitHub Issue

Technical Description

Introduce the ability to assign teams or users to a project

Any deployment steps required?

No

Are any Feature Flags and/or Data Migrations that can eventually be removed Added?

Feature Flag : ProjectManagersAuditorsFeature


Before contributing and submitting this PR, make sure you have Read, agree, and are compliant with the contributing guidelines.

- Added migration to activate Project Managers and Auditors feature flag.
- Updated ProjectResource to include management pages for Auditors and Managers.
- Enhanced ListProjects page to filter projects based on user roles (managers and auditors).
- Created ManageAuditors and ManageManagers pages for managing related users and teams.
- Implemented relation managers for AuditorTeams and AuditorUsers.
- Added relation managers for ManagerTeams and ManagerUsers.
- Updated Project model to include relationships for manager and auditor users and teams.
- Created pivot models for ProjectManagerUser, ProjectAuditorUser, ProjectManagerTeam, and ProjectAuditorTeam.
- Enhanced ProjectPolicy to restrict access based on user roles and feature flag.
- Updated tests to ensure proper access control for project management based on user roles.
- Added feature flag class for Project Managers and Auditors functionality.
…P-638-introduce-ability-to-assign-teams-or-users-to-project
@ketan-canyon ketan-canyon marked this pull request as ready for review July 7, 2025 17:45
@ketan-canyon ketan-canyon requested a review from a team as a code owner July 7, 2025 17:45
@ketan-canyon ketan-canyon requested a review from krlmrr July 7, 2025 17:45
krlmrr
krlmrr previously approved these changes Jul 8, 2025
Copy link
Contributor

@Orrison Orrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be rebased on main so that it has the proper tests and merge conflicts are resolved.

@ketan-canyon
Copy link
Contributor Author

This needs to be rebased on main so that it has the proper tests and merge conflicts are resolved.

Done

@ketan-canyon ketan-canyon requested a review from Orrison July 8, 2025 19:56
ketan-canyon and others added 7 commits July 16, 2025 12:37
…P-638-introduce-ability-to-assign-teams-or-users-to-project
…P-638-introduce-ability-to-assign-teams-or-users-to-project
…P-638-introduce-ability-to-assign-teams-or-users-to-project
…ers-to-project' of github.com:canyongbs/aidingapp into Feat/AIDAPP-638-introduce-ability-to-assign-teams-or-users-to-project
@ketan-canyon ketan-canyon requested a review from Orrison July 18, 2025 12:08
@ketan-canyon ketan-canyon requested a review from Orrison July 21, 2025 18:50
@Orrison Orrison added this pull request to the merge queue Jul 23, 2025
Merged via the queue into main with commit fdcc2d8 Jul 23, 2025
5 checks passed
@Orrison Orrison deleted the Feat/AIDAPP-638-introduce-ability-to-assign-teams-or-users-to-project branch July 23, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants