Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description 📣
#791
Type ✨
This PR allows to give a user access to multiple projects at once. In order to do this I modified the organization access control page to fetch for each user the projects that already belongs to and added an action that will display a modal. The modal contains a table with all the available projects that a user can be added. The table also contains a search box and checkboxes to allow multiple selection of the users. I applied client side validation in order to avoid to send empty requests to the backend.
In the backend side, I added a new API call that will fetch all organization members with the projects that a user already belongs. Please let me know if this API call has to be added to the swagger too.
Further improvements could be
Tests 🛠️
empty_file_structure_fix-2024-03-15_19.17.44.mp4