Forum OpenACS Q&A: What happened to RestrictEntireServerToRegisteredUsersP?
Posted by Janine Ohmer on 05/23/03 01:12 PM
Since I need that exact functionality I was a bit dismayed to find it is no longer in use. Does anyone know why, and whether there are any gotchas I should watch out for when re-implementing it? Or has anyone already reimplemented it and willing to share?
2: Re: What happened to RestrictEntireServerToRegisteredUsersP? (response to 1)
Posted by Matthew Geddert on 05/23/03 09:04 PM
i remember trying to do this and it also not working. The solution i came up with was to remove "the public" from having permission ot read my site. Another option, which is incredibly simple and i haven't tested it for hacks - though i use it on my development server is to simply require a user_id greater than 0 on you master template. i.e. [ad_maybe_redirect_for_registration] or something similar. Of course you need to disable this on the actual login page.