Domain Access: Expand node_grants support for update and delete operations

Created on 9 June 2022, about 3 years ago
Updated 8 July 2022, almost 3 years ago

Drupal Version

9.3.14

Domain module version

8.x-1.0-beta6

Expected Behavior

  • Users should be able to see unpublished content on the content overview page with the permission to "view any unpublished content".
  • Users should only be able to see content types on the content overview page that they can update or delete.

Actual Behavior

Users can't see unpublished content on the content overview page, even if they can view and update the node itself.
The issue only happens when ACB and another module which implements node grants is enabled.

This should be fixed by adding "domain_unpublished" to the update and delete operations as well in domain_access_node_grants().

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom aimai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024