Working on a Membership site built on Drupal and am aiming to hide the content of certain view pages on the site unless the user has a specific (membership) role.
However, setting view page access control hides the entire page — including title and very existence (it disappears out of nav menus, etc.). My goal is to show the page is still there, but when a user without proper access clicks on it, the body content (fields, etc.) are not shown. That is replaced by a message to subscribe to the membership.
Is that doable with views? If so, how? Any suggestions?
Comments
Comment #1
Snehal Brahmbhatt commentedYou can use following modules for your purpose according to your requirements.
1. Field Permissions
2. User role field
3. Node access user reference
4. Content Access
Please feel free to contact incase of any query/concern regarding this.
Thanks,
Snehal Brahmbhatt | AddWeb Solution
https://www.drupal.org/user/3147795/track
Comment #2
renatog commentedHi guys, how are you?
I checked and really #1 likes good.
P.s. Just one observation: Content Access is not covered by Drupal’s security advisory policy and exists in beta version.
Comment #3
renatog commentedThank you very much @snehal.addweb
Best,