Ask Agaric: Trying to deny access...
Hi there,
I am putting together a site that has very strict access requirements, there must be no access to content beyond the home page by anonymous users. To this end, I removed Anon. User 's access to Node Module content. This does the trick, no access to anonymous. However I was using 'node/1' as the home page which is now access denied :( Changing the access denied page to node/1 doesn't fix the issue either)
How do I make a home page that is accessable (it will ultimately inform site users to log in to see content) yet maintaining no access to the rest of the data?
Thanks...
Two approaches
Benjamin Melançon - December 14, 2007 - 01:17
If you expect to want to let some users view a bit more content, or to have a few more pages, you're best off installing an access control module such as Node Access.
If you don't expect to want anything beyond the home page for a while, you can cheat and use a block.
Make sure you're using a theme that has a content_top or content_bottom sort of region, and make a custom block at admin/build/block/add with whatever text you want for the home page.
benjamin, Agaric Design Collective
(From drupal.org/node/200805 )
Comments
Post new comment