# Feature OP-12991 - Order of roles on project dashboard

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-12991

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

# Situation

Long-running projects have a lot of project members with different roles to enable OpenProject-wide visiblity for everybody in the organization.

The order of roles on the project dashboard seems to be arbitrary (not lexicographically nor alphabetically).

# User Story

**As** a user  
**I want to** see all project members in their specific roles on the projec dashboard  
**so that** I can easily detect who's who.

**As** an admin  
**I want to** make sure that all relevant roles are displayed by ordering them in the admin interface  
**so that** the users can see all the relevant personell and resources involved in that particular project.

**Acceptance criteria**

  - either
      - order of the role headers as specified in the admin interface (the Role model is an ordered model where we can specifiy a specific order) - it would make sense to use that order
  - or
      - ascending order by size of the role group (number of people in that role) - from few to manny
      - assumption: smaller size signals more information than larger groups

# Alternative

  - make the MEMBERS widget configurable
  - specify the roles you want to see on the dashboard

# Problem as a screenshot

The following project has 6 team members, only two are displayed on the dashboard right now (below "Member").

"Editor" are people that are allowed to see the stuff inside of that project. "Resource" is a special role needed for multi-project management. Roles "Admin" and "Lead" are missing but are defined and only contain a few people.

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/63893/content">
