Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • good work around, but I still need to show access denied page because not all users have the same permissions. I appreciate your help. Commented Nov 13, 2012 at 17:51
  • then remove 'user' from (access denied) page field at 2nd step Commented Nov 14, 2012 at 4:36
  • if I remove it; anonymous users can only see access denied without redirecting to the login page. I'm sure that there's a way I can do it in rules module Commented Nov 14, 2012 at 5:33
  • yes. further can be done by rules module. you can also do it via trigger core module. Commented Nov 14, 2012 at 5:39
  • 1
    If someone has access denied does not mean they are not logged in.See This Answer Commented Jan 3, 2017 at 7:40