This PR modifies the Create, Edit and Join Project forms, so the Role field is no longer an open string field but a field related to the Disciplines table values, the user must can only select options from the list provided.
It also migrate most of the old role values to the new structure so the users don't have to re-enter this info, however, there are some cases where certain users will have to do it as we can't relate the current value to the Disciplines records.
Last but not least, I added the Owner and Stakeholder option to the Disciplines table.
Where should the reviewer start?
In any of the form listed above
How should this be manually tested?
Create a new project
Go to edit the project and confirm that the Owner is assigned correctly
In this page, add new users, add new roles, delete existing roles, and validate that the roles are being assigned modified correctly
Go to an existing project and try to join, select different roles and submit the form, validate that the roles selected are applied correctly
What are the relevant tickets?
348
Screenshots
Checklist
[X] I reviewed existing Pull Requests before submitting mine.
What does this PR do?
This PR modifies the Create, Edit and Join Project forms, so the
Role
field is no longer an open string field but a field related to theDisciplines
table values, the user must can only select options from the list provided.It also migrate most of the old role values to the new structure so the users don't have to re-enter this info, however, there are some cases where certain users will have to do it as we can't relate the current value to the
Disciplines
records.Last but not least, I added the
Owner
andStakeholder
option to theDisciplines
table.Where should the reviewer start?
In any of the form listed above
How should this be manually tested?
Owner
is assigned correctlyWhat are the relevant tickets?
348
Screenshots
Checklist