Skip to content

Allow Viewing of Custom Role Name in UI and API

Background

We have the ability to create a custom role via API, but the name of this new role is invisible to the end user and group owner. The role displays as "Guest", even when it is the "Guest" role + 1 additional permission (view code).

If a user is assigned the custom guest role, they need to view this where their "Role" is displayed

Concerns

  • permission origin? Group or Project
    • inheritance
  • presentation?
    • what needs to be shown to help admins understand what users have what permissions and where.

Currently there is no where to view this kind of information apart from the group or project users list. Presumably we could populate the drop downs in these screens with the MVC proposal of Guest + 1. But we do not have a UI to filter this info. Perhaps we could build a filter for the table?

Group member Project member
Screen_Shot_2022-12-12_at_2.35.21_PM Screen_Shot_2022-12-12_at_2.36.00_PM

There is also a difference with direct membership versus inherited/invited membership.

Proposal

MVC: Guest + 1

  • Call it "Guest Viewer" (if this is too long, we can come up with other names)
  • Displays in UI when assigned to a user
  • Returned in API when a user's role is returned

Out of scope - custom name for this role

Edited by Daniel Mora