Query membership data related to customizable roles
To display customizable roles in the members page, backend need to query the membership data related to that. Customizable roles works slightly differently than static roles:
- user has a single well-defined static role in a group or a project, which is the maximum role in the hierarhcy
- user can have multiple customizable roles in a group or a project and all of them need to be displayed. This is needed because even if a user has a customizable role with
maintainer
base access level at the project level, another customizable role with lower base access level could have a permission not granted in any other customizable role.
Attributes required for membership related to customizable roles:
- name of the customizable role
- base access level
- source of the membership
This issue is a prerequisite to display the data will be used by the frontend.
Edited by Imre Farkas