# Bug OP-16260 - Project membership in group administration lists global roles

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16260

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.3.0 |
| Observed in versions | 15.0.0 |
| Sprint | 15.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Configure a global role
    
2.  Configure a project role
    
3.  Create a group
    
4.  Within the groups administration, go to the &quot;Projects&quot; tab (\`/admin/groups/:id/edit?tab=memberships\`)
    

### What is the buggy behavior?

*   On the left hand side, in the &quot;New project&quot; section, below the project selection the list of available roles are listed. That list currently includes global roles which cannot be assigned within a project. Selecting them correctly produces an error on submit.
    

### What is the expected behavior?

1.  Only project roles are listed. Global roles and internal roles (e.g work package roles) are not listed.
