[dev] Re: feature interest

Chuck Hagenbuch chuck at horde.org
Sat Jul 19 07:58:47 PDT 2003


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()? 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.

-chuck

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


More information about the dev mailing list