Re: content and menu access
info <[email protected]> Tue, 20 Jan 2015 09:39:06 +0000
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <C1B259941227C2488728DFFBFD942CA16F3AE5E2@VOLSERVER1.Volcent.local> |
--===============3883172435599900829== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_C1B259941227C2488728DFFBFD942CA16F3AE5E2VOLSERVER1Volce_" --_000_C1B259941227C2488728DFFBFD942CA16F3AE5E2VOLSERVER1Volce_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We would like to unsubscribe from this how do I go about it, Thank you From: [email protected] [mailto:[email protected]] On Beh= alf Of Jim Ruby Sent: 29 November 2014 02:36 To: [email protected] Subject: Re: [support] content and menu access Thank you it sounds like field permissions comes close as I don't want to h= ave users enter passwords again after they login. Views may be another alte= rnative. From: [email protected]<mailto:[email protected]> [mailto= :[email protected]] On Behalf Of Ashley Hall Sent: Friday, November 28, 2014 10:47 AM To: [email protected]<mailto:[email protected]> 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 use= rs with the appropriate role and not visible to users who are not authorize= d 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 fie= ld-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/proj= ect/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 <[email protected]<mailto:jim@v-co= mmunity.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 it= s 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, i= t 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/ ] --_000_C1B259941227C2488728DFFBFD942CA16F3AE5E2VOLSERVER1Volce_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0cm; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-ZA" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">We would like to unsubscr= ibe from this how do I go about it, <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Thank you <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;fo= nt-family:"Tahoma","sans-serif"">From:</span></b><span = lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma",&qu= ot;sans-serif""> [email protected] [mailto:support-bounces@dr= upal.org] <b>On Behalf Of </b>Jim Ruby<br> <b>Sent:</b> 29 November 2014 02:36<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: [support] content and menu access<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri","sans-serif";color:#1F497D"><o:p> = ;</o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri","sans-serif";color:#1F497D"><o:p> = ;</o:p></span></p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;fo= nt-family:"Tahoma","sans-serif"">From:</span></b><span = lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma",&qu= ot;sans-serif""> <a href=3D"mailto:[email protected]">[email protected]</a= > [<a href=3D"mailto:[email protected]">mailto:support-bounces@dru= pal.org</a>] <b>On Behalf Of </b>Ashley Hall<br> <b>Sent:</b> Friday, November 28, 2014 10:47 AM<br> <b>To:</b> <a href=3D"mailto:[email protected]">[email protected]</a><br> <b>Subject:</b> Re: [support] content and menu access<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">If you want to block access to = the menu link, try building a view that sets the permission by role. The me= nu link will automatically be visible to users with the appropriate role an= d 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.<o:p></o:p></span></p= > <div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US">To restrict parts of those page= s, try field permissions and select "custom" so that only users o= f the role(s) you define can view the content on a field-by-field basis.&nb= sp;<a href=3D"https://www.drupal.org/project/field_permissions">https://www= .drupal.org/project/field_permissions</a><o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US">Another option to protect entir= e pages is either the protected node project (for protecting pages on a cas= e-by-case basis: <a href=3D"https://www.drupal.org/project/protected_n= ode">https://www.drupal.org/project/protected_node</a>) or protected pages (for protecting pages in chunks e.g. content types or r= elative paths: <a href=3D"https://www.drupal.org/project/protected_pag= es">https://www.drupal.org/project/protected_pages</a>) <o:p></o:p></= span></p> </div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> <div> <div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US">On Nov 28, 2014, at 10:45 AM, J= im Ruby <<a href=3D"mailto:[email protected]">[email protected]</a>&= gt; wrote:<o:p></o:p></span></p> </div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-US">= <o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Trying to stop pages and menu l= inks from being displayed to anonymous users<br> modules tried node access and content access and wile node access I can<br> block the page itself I can not block the menu link from being displayed?<b= r> <br> I have one content type like pages that anonymous users should never see it= s<br> menu links nore its pages<br> I have another content type that is assigned per user so user joe and mike<= br> can see the page, but john and slim can not. Node access handles this ok, i= t<br> is the part above where I am having problems.<br> <br> Any suggestions? I'd like to have a easy to use ui if I can.<br> <br> Thanks.<br> <br> <br> <br> -- <br> [ Drupal support list | <a href=3D"http://lists.drupal.org/">http://lists.d= rupal.org/</a> ]<o:p></o:p></span></p> </div> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> </div> </body> </html> --_000_C1B259941227C2488728DFFBFD942CA16F3AE5E2VOLSERVER1Volce_-- --===============3883172435599900829== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- [ Drupal support list | http://lists.drupal.org/ ] --===============3883172435599900829==--