- Status changed to Needs review
over 1 year ago 7:23am 22 June 2023 - last update
over 1 year ago 7 pass, 2 fail The last submitted patch, 12: 3169490-12-test-only.patch, failed testing. View results →
- Status changed to Needs work
over 1 year ago 7:33am 22 June 2023 - last update
over 1 year ago 13 pass - Status changed to Needs review
over 1 year ago 9:11am 22 June 2023 - last update
over 1 year ago 12 pass - last update
12 months ago 13 pass - 🇳🇱Netherlands ecvandenberg
Patch #14 seems to work fine here with multiple access modules and a complex structure of access rights and workflows.
- 🇺🇸United States mortona2k Seattle
This patch works by preventing you from granting access to unpublished content, but it doesn't fix content that already has the grants.
It works by setting the view permission to the published status, when the grant form is saved.
There is no message to the user, the form silently unsets the value. If we keep this, I think there should be a message to the user about what's happening.
I think the fix should be done somewhere else though, like an access hook or event subscriber that would check when the content is loaded.
- last update
10 months ago 13 pass - 🇩🇪Germany szeidler Berlin
Thanks for your work on this. I also struggled with the same issue. In addition we have a use-case that we have translated content and the translations could have a different published status. A bit like described in #2469523: Add language support to node access grants → . When using the patch as it is here the source language of a content would decide if the content is treated as published or unpublished and react wrong on the translations, if the status is different.
I added language capability to patch #14 and extended the tests. Please decide if that should go into this issue or handled separately. If not, then ongoing work should be based on #14.
Thanks for a review.
- 🇵🇪Peru alyaj2a
Hello, patch number 19 🐛 Unpublished content can be viewed by anonymous Needs review works for me. Thanks.
- 🇺🇦Ukraine vbory
Hello, both patches do not work. I am using content_moderation module for managing nodes status and have applied nodeaccess settings according to my needs, and in my case logged in user with non-admin role is able to view unpublished content. Maybe someone has faced with that, not just checking content for anonymous users? Thank you
- Status changed to RTBC
4 months ago 1:47pm 19 July 2024 - 🇭🇺Hungary tikaszvince
The latest patch resolved this in my cases, when I tried with Drupal 10.2.7 and 10.3.1
- Status changed to Fixed
3 months ago 6:31am 16 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.