Project Member Role

Hi All,

A project member may be playing a particular role in the project like Architect or Developer or Business Analyst etc…
I would like to capture this role a member is playing in a project.

As I understand, Project and Users are mapped as Project Member User Set. As Project Member User Set is not exposed as a model, I am unable to add attributes to it.
I also tried creating a new model but unable to populate the values as it depends on the member being selected first, and I am unable to figure-out how to populate the member-role object with Project and User data once a member is selected.

Any suggestion on the best approach for this scenario?

in my view, extend the user add attribute to user projectRole,