[dev] Re: feature interest

Brian M Dube brian.dube at gotgoat.com
Sat Jul 19 11:54:38 PDT 2003


On Saturday, Jul 19, 2003, at 09:58 US/Central, Chuck Hagenbuch wrote:

> Quoting Brian M Dube <brian.dube at gotgoat.com>:
>
>> My changes work if the user is explicitly named in the permission, but
>> not groups. I looked at Perms.php and didn't see a reason why the 
>> group
>> check should fail. Any ideas?
>
> Not really - should work.
>
> Maybe the permission checking should be done in Auth::getAuth()? Or 
> better,
> isAuthenticated()?

Sounds like a good place.

>  Actually, if it's just the appname, shouldn't be more than
> 2-3 lines in an app's base.php to check it. Though, I wouldn't cause a 
> fatal
> error - redirect somewhere else.

I chose Chora::fatal simply because that's what's there if you come 
across a restricted file.

> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> They're just looking at a wall of meat.
>

Brian



More information about the dev mailing list