This question about Authentication or Authorisation: More info required

User redirected to "Access Denied" instead of "Home" after login

-- TimMeier - 02 Aug 2012

additional Info: the home page is /bin/view which results in /bin/view/Blog/BlogPost

the users log in to the page via htaccess and are able to log into the wiki via template login.
  • guest:
    • both users can see /bin/view
    • both users can see /bin/view/Blog/BlogPost
  • logged in via template-login:
    • can not see /bin/view (error: access denied... the web "..." doesn't exist)
    • can see /bin/view/Blog/BlogPost
-- TimMeier - 02 Aug 2012 Hi there,

I can not figure out why 2 users are not allowed to view the main page where they are redirected after login (/bin/view).

I tried deleting the users (remove from user page, remove from htaccess, remove files in /data/Main) and registered them anew (even with other names) but it doesnt seem to work. When I create new users (without any "known" userdata) everything works fine. I think the system somehow remembered them but I don't know where or why because I haven't worked with or seen foswiki until yesterday.

Any ideas?

Regards,

Tim

-- TimMeier - 02 Aug 2012

Have you carefully looked at the topic they are trying to view for ALLOW or DENY settings either embedded into the topic, or in the topic's META based settings.

Easiest way to check is to view the topic using the ?raw=all URL parameter, and search for any ALLOW or DENY settings, or a meta line like %META:PREFERENCE{name="ALLOWTOPIC....

If they can't view any other topics in the Blog web either, then also look for the Blog/WebPreferences topic. Look for ALLOWWEB* or DENYWEB* settings.

-- GeorgeClark - 02 Aug 2012

Problem resolved by disabling the Homepage-plugin, installing the Redirect-plugin and redirecting from the Main pag to BlogPost. Also I changed the WebLeftBarWebsList-links to include noredirect=on so the user can still manually go to Main without being redirected

-- TimMeier - 02 Aug 2012
 

QuestionForm edit

Subject Authentication or Authorisation
Extension
Version Foswiki 1.1.2
Status More info required
Related Topics
Topic revision: r4 - 02 Aug 2012, TimMeier
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy