# Bug OP-14251 - Global group memberships not correctly inherited to all members

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.3.0 |
| Observed in versions |  |
| Sprint | 13.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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

### Before filing a report

_Before you file a report, please ensure you are running the latest version of OpenProject and_   
_have searched for similar bug reports._

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Have a group named Foo
2.  Have two users A, B in that group as users
3.  Add any global role
4.  Assign the global role through the global roles tab of the group page
5.  Observe the global roles tab of users A, B

### What is the buggy behavior?

_Please describe the bug in as much detail as possible. Example:_

*   The users A, B did not receive an inherited membership

### What is the expected behavior?

_Describe how the application should behave like. Example:_

1.  The membership should be present and shown as non-deletable (trash icon should be missing)

###   

When modifying the group through the UI, there is a regression in the selection of the membership parameter, which results in the SQL receiving a `where project_id in (NULL)` condition, which results in global roles never being inherited to members of the group.
