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.
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@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/ ]
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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Ashley Hall Sent: Friday, November 28, 2014 10:47 AM To: support@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@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.
We would like to unsubscribe from this how do I go about it, Thank you
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jim Ruby Sent: 29 November 2014 02:36 To: support@drupal.org Subject: Re: [support] content and menu access
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@drupal.orgmailto:support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Ashley Hall Sent: Friday, November 28, 2014 10:47 AM To: support@drupal.orgmailto:support@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@v-community.commailto:jim@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/ ]
https://www.drupal.org/project/menu_item_visibility
From: Jim Ruby jim@v-community.com
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.
In addition to creating a view and restricting by role, I use panels and restrict pages or sections of pages (panes) by role. Works great. I even have different kinds of content we sell and each is limited to those users who purchased it, all done with roles, views and panels. https://www.drupal.org/project/panels
On Fri, Nov 28, 2014 at 9:45 AM, Jim Ruby jim@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/ ]