Dave Kaufman wrote:
>
> i belive it is. in fact, i didn't realize specifing two require coditions (one
>group and one user) worked on *separate* lines :)
>
> something like:
>
> $Location{"blah"} = {
> require => "group payer_manager, payer_group demo"
> };
>
> should do the trick.
>
> -dave
I wrote:
> Thanks, that fixed it.
Actually, no that didn't fix it!
$r->requires
returns
[{ 'group' => "payer_manager, payer_group demo"}]
for the above $Location{} directive. It does no comma separation. I guess the
only workaround is to split on comma after calling $r->requires (in the Auth
handler).
This is definitely not ideal.. I think we should fix this in perl_config.c.
Basically I think there should be some straightforward way to have two (or more)
require statements in $Location{} directives. The most logical seems to be what
Tom suggested:
require => ["group payer_manager", "payer_group demo"]
I'd be happy to submit patches if I got a go ahead from Doug that this would be
useful.
-Adi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]