Thanks for the module. It does *almost* exactly what I need it to.

However, the access arguments on the menu item for the preview page requires users to have the 'administer content types' permission to make use of this module.

It seem this is a bit too draconian a requirement to me. Is there any reason that anyone who can edit and view the node shouldn't also be allowed to view the preview page? I have a user role I'd like to be able to use this feature but I don't want to allow them to administer content types.

Comments

eddie_c created an issue. See original summary.

scott.bell’s picture

+1

Would like non-admin roles to be able to preview various view modes (content authors, for example).

pvhee’s picture

Assigned: Unassigned » zach.bimson

Great - we are planning to build something like this for the (new) Drupal 8 version, and can then back-port this into the D7 version!

zach.bimson’s picture

I've made this change in the D8 version and pushed it to the stable release 8.x-1.0!
Ill work on back porting this to D7 asap...

zach.bimson’s picture

Version: 7.x-1.x-dev » 7.x-1.2
Assigned: zach.bimson » Unassigned
Category: Bug report » Feature request
Status: Active » Closed (fixed)

Hey @eddie_c, @scott.bell I've pushed a new release 7.x-1.2 that includes the requested feature! At the moment its just the single permission but could look at adding more granular permissions later on if it becomes a requirement.
Marking this a as closed now.