[dev] How to hide an app from the sidebar
Chuck Hagenbuch
chuck at horde.org
Mon Jun 25 14:04:58 UTC 2007
Quoting Luis Zarrabeitia <kyrie at uh.cu>:
> Hello.
> I'm trying to build a custom horde app, but I need it to be visible (and
> accessible) only to certain group of users (i.e, I have an already
> implemented
> function "isAuthorized" that returns if the user is allowed to see it).
If you need to have custom logic behind this function, the easiest
thing to do is to just put the registry.php entry for your app inside
an if () block that checks your function. Otherwise, using
application-level permissions is very easy and requires no code on
your part.
-chuck
More information about the dev
mailing list