permissions - Drupal 7 - Node Gallery visible for logged users only -


  1. i have drupal 7 nodegallery installed. have several galleries in on website.
  2. some of galleries linked main menu items , visible , of linked menu items visible after user has signed up.
  3. but when logged-in , example sends link gallery (like http://my.site.com/?q=node/1477), hidden external (unlogged) users, see gallery, although don't see in main menu.

the option in content management (for gallery) "is private" , combo box "authenticated only" has no effect (has effect visibility of link in main menu). if knows link, has access gallery. not desirable.

how can permissions of view of concrete gallery restricted authenticated user?

for controlling logged in , logged out menu items can use menu item visibility module url: https://www.drupal.org/project/menu_item_visibility can control menu item visible role.

and can use hook_node_view hook check node(s) visible roles of user or can use nodeaccess module have backend make node visible user url: https://www.drupal.org/project/nodeaccess

thanks


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -