Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent users from seeing notifications for their own access request #49915

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

rudream
Copy link
Contributor

@rudream rudream commented Dec 6, 2024

Purpose

This PR resolves #49457

This PR fixes a bug where in cases where a user has the permissions to review requests for the roles/resources they themselves requested, they will receive a notification for their own access request.

Global notifications now have an ExcludeUsers field which can be used to explicitly exclude certain specific users from a receiving global notification.

changelog: Fixed bug causing users to see notifications for their own access requests in some cases

@rudream rudream enabled auto-merge December 10, 2024 00:23
@rudream rudream force-pushed the yassine/fix-access-request-notif branch from f7525f6 to 37c9b9d Compare December 11, 2024 17:27
@rudream rudream added this pull request to the merge queue Dec 11, 2024
Merged via the queue into master with commit 22c5830 Dec 11, 2024
43 checks passed
@rudream rudream deleted the yassine/fix-access-request-notif branch December 11, 2024 18:03
@public-teleport-github-review-bot

@rudream See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User receives notification of their own access request when they are reviewers
3 participants