Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300679

Move permission "view any unpublished content" from content moderation to core

$
0
0

Problem/Motivation

For a editorial office it's a worse way to use node access for their workflow:

  • Writers are only allowed to create unpublished nodes
  • Editors need access to every (so node_access isn't useful) unpublished node of the writers...
  • ...but they aren't allowed to publish the node, so I can't use "administer nodes" for the editors

-> the permission "view any unpublished content" is required.

Proposed resolution

Create new permissions for viewing any unpublished content or by node type.

Remaining tasks

It needs to be decided whether Views status filter should be modified to include unpublished nodes that are viewable for the user by the new permissions. If yes, the by-node-type permission checking needs to be implemented, access checking for 'any unpublished' is done already. If no, changes to the status filter should be removed from the patch.

Proposed solution: Only provide "view any unpublished content", create a follow-up for the wider support.

User interface changes

Adds new permissions.


Viewing all articles
Browse latest Browse all 300679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>