Skip to content

fix: correctly handle team members even if they are child team members - #238

Merged
mxmehl merged 2 commits into
OpenRailAssociation:mainfrom
typed-sigterm:fix/exclude-inherited
Sep 16, 2026
Merged

mxmehl merged 2 commits into
OpenRailAssociation:mainfrom
typed-sigterm:fix/exclude-inherited

Conversation

@typed-sigterm

@typed-sigterm typed-sigterm commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Fix #236. Tested with my org.

It might be a breaking change because someone may relies on the bug.

@typed-sigterm typed-sigterm changed the title fix!: exclude inherited members from fix!: exclude inherited members when checking team members Aug 5, 2026
@typed-sigterm

Copy link
Copy Markdown
Contributor Author

@mxmehl Could you please review these :)

@mxmehl
mxmehl self-requested a review August 12, 2026 13:51
@mxmehl mxmehl changed the title fix!: exclude inherited members when checking team members fix: exclude inherited members when checking team members Sep 16, 2026

@mxmehl mxmehl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Indeed, this has been a bug. I've tested it with two large orgs. In one, there were changes due to this PR, but they are actually reflecting the intended behaviour, so I wouldn't mark this as breaking.

@mxmehl mxmehl changed the title fix: exclude inherited members when checking team members fix: correctly handle team members even if they are child team members Sep 16, 2026
@mxmehl
mxmehl merged commit 8932e38 into OpenRailAssociation:main Sep 16, 2026
@typed-sigterm
typed-sigterm deleted the fix/exclude-inherited branch September 17, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Membership of nested teams affect membership of parent teams

2 participants