Skip to content

Restrict showing others' private posts in admin panel - #4169

Merged
felipeelia merged 13 commits into
developfrom
fix/restrict-showing-others-private-posts
Sep 17, 2025
Merged

Restrict showing others' private posts in admin panel#4169
felipeelia merged 13 commits into
developfrom
fix/restrict-showing-others-private-posts

Conversation

@burhandodhy

@burhandodhy burhandodhy commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

Description of the Change

This PR fixes an issue where private posts from other authors are listed in the admin panel, even when the user doesn’t have permission.

Closes #1800

How to test the Change

Changelog Entry

Fixed - Users can see other authors' private posts

Credits

Props @burhandodhy

Checklist:

@burhandodhy
burhandodhy marked this pull request as ready for review August 5, 2025 13:12
@burhandodhy burhandodhy added this to the 5.3.0 milestone Aug 5, 2025
@felipeelia felipeelia assigned burhandodhy and unassigned felipeelia Sep 16, 2025
@felipeelia

Copy link
Copy Markdown
Member

It seems we have a problem with tests here, @burhandodhy

…m:10up/ElasticPress into fix/restrict-showing-others-private-posts
@felipeelia
felipeelia merged commit fcd8430 into develop Sep 17, 2025
30 checks passed
@felipeelia
felipeelia deleted the fix/restrict-showing-others-private-posts branch September 17, 2025 16:29
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.

The condition for building the post_status parameter in a simple query

2 participants