[support] content and menu access

Ashley Hall knowledges33ker at gmail.com
Fri Nov 28 16:46:40 UTC 2014


If you want to block access to the menu link, try building a view that sets the permission by role. The menu link will automatically be visible to users with the appropriate role and not visible to users who are not authorized to access the view page. This won't however address the issue that a user could scroll through the nids of the site via the URL.

To restrict parts of those pages, try field permissions and select "custom" so that only users of the role(s) you define can view the content on a field-by-field basis. https://www.drupal.org/project/field_permissions

Another option to protect entire pages is either the protected node project (for protecting pages on a case-by-case basis: https://www.drupal.org/project/protected_node) or protected pages (for protecting pages in chunks e.g. content types or relative paths: https://www.drupal.org/project/protected_pages)  


On Nov 28, 2014, at 10:45 AM, Jim Ruby <jim at v-community.com> wrote:

> Trying to stop pages and menu links from being displayed to anonymous users
> modules tried node access and content access and wile node access I can
> block the page itself I can not block the menu link from being displayed?
> 
> I have one content type like pages that anonymous users should never see its
> menu links nore its pages
> I have another content type that is assigned per user so user joe and mike
> can see the page, but john and slim can not. Node access handles this ok, it
> is the part above where I am having problems.
> 
> Any suggestions? I'd like to have a easy to use ui if I can.
> 
> Thanks.
> 
> 
> 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20141128/a4cc6ce8/attachment.html 


More information about the support mailing list