I am trying to find an elegant way to solve this problem : Show the node teasers even if the user doesn't have the permission to access the node.
Has I don't really like any of the solutions listed there, I had this idea :
It would be great if I could add a custom permission (beside "View", "Edit" and "Delete") to content access, so I could give "View permission" to everybody and use ctool's Page Manager and Panels and show only the fields I want based on this custom permission.
I am sure this feature (if at all possible) could serve a lot of use cases.

Tell me if I'm not clear enough and thanks for this (almost) perfect module!

Comments

aendra’s picture

This is sort of what I'm needing -- I have a bunch of content types that feed into Panels panes. I have viewing them disabled via Content Access so these pieces don't show up in search results. However, this also makes them unviewable to non-priviledged users -- kind of the inverse of http://drupal.org/node/1344622. Any thoughts how I'd do that?

aendra’s picture

For cases like mine, sometimes Content Access might be too restrictive a module -- I've instead used the curiously-named Rabbit Hole with Custom Search to prevent non-admin users from viewing or searching for the various content types that comprise my Panels.

gisle’s picture

Title: Adding custom permissions » Separate permission for Title+Teaser and Main Content
Issue summary: View changes
Status: Active » Closed (won't fix)
Related issues: +#217596: Show the node teasers even if the user doesn't have the permission to access the node, +#262766: Titles and teasers for all users?, +#2126563: teaser, +#2914231: Php print text if access, else print another text

Thee Freemium publishing model, where a publisher let anonymous visitors access the Title and Teaser, but limits access to the Body until the visitor registers is very much in demand (see related issues).

This publishing model is not supported by, nor will be supported by, Content Access.

If you are looking for something like this, you may find some guidance here"Show node teasers even when the user doesn't have node access permission".