Question
I have two webs on my site, one is public (Web A), the other (Web B) requires authentication to view the pages. If in Web B I allow viewing to a group defined in Web A, there is no problem, however, if I allow viewing to a group defined in Web B but consisting of users defined in Web A, those users are denied permission. I am using .htpasswd authentication. Any idea why this doesn't work?
Environment
--
TWikiGuest - 02 Feb 2005
Answer
Excuse my ignorance if this answer seems stupid. I'm very new to this, but I'll attempt anyway.
If Web A is public, why have definitions? If you leave it open, and just define the users you would like to give access to WebB in WebB.WebPreferences, this should keep WebA public, and WebB restricted to those with access.
--
SandeepNair - 02 Feb 2005
All groups must be defined in the Main web. In the WebPreferences settings in any web point it to Main.WhateverGroup.
--
PeterThoeny - 03 Feb 2005
Thanks for the clarification
--
TWikiGuest - 03 Feb 2005
I am a bit confused. So far i thought, that both groups and users would have to be defined in the main web.
Can Users be defined in other webs than main?
--
WolfgangAlper - 09 Feb 2005
No, users and groups must be located in the Main web.
--
PeterThoeny - 10 Feb 2005