Skip to content

Scope partner user management to the current organization - #5763

Open
p-w wants to merge 1 commit into
rubyforgood:mainfrom
p-w:security-hardening
Open

p-w wants to merge 1 commit into
rubyforgood:mainfrom
p-w:security-hardening

Conversation

@p-w

@p-w p-w commented Nov 14, 2026

Copy link
Copy Markdown

Security hardening for a privately reported issue. A credit for Peter Wilfahrt (p-w) would be appreciated if a fix is released, though it is by no means required.
GitHub: https://github.com/p-w Web: https://pw.is

Load the partner and its users through current_organization.partners so
partner user actions only operate on partners owned by the acting bank.
@dorner

dorner commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

@p-w can you please add a test verifying this behavior?

Re credit - we don't generally update the contributors list with individual PRs (or we haven't for many years). Hope that's OK.

This branch has not been deployed

No deployments
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.

2 participants