[support] content and menu access

Jim Ruby jim at v-community.com
Sat Nov 29 00:35:33 UTC 2014


Thank you it sounds like field permissions comes close as I don't want to
have users enter passwords again after they login. Views may be another
alternative.

 

 

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Ashley Hall
Sent: Friday, November 28, 2014 10:47 AM
To: support at drupal.org
Subject: Re: [support] content and menu access

 

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/279cdda9/attachment-0001.html 


More information about the support mailing list