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

New node permission "view unpublished content"

$
0
0

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 unpublished content" is required.

Here a first approach was made: #41188: More node permissions ("view unpublished nodes", "edit any node")
I just Copy'n'Paste a part of the patch #4 made there so I was able to add a "view unpublished nodes" permission for all node types and it seems to work quite well (see patch).

Now it would be nice to implement this per node type. Help is appreciated.


Viewing all articles
Browse latest Browse all 298646


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