[dev] admintoolbar option in registery.php

Eric Rostetter eric.rostetter at physics.utexas.edu
Thu Dec 19 14:00:04 PST 2002


Quoting "Marcus I. Ryan" <marcus@riboflavin.net>:

> I would like to have an application or two that are available only to
> admins, but we don't have Auth available and processed when we load the
> registry so I can't just put PHP logic in the registry.php file like I
> would in other configuration files.

It would be a real hack, and I haven't tested it, but maybe you could put
it in the registry as notoolbar or whatever, and then do the icon like we
do the "Administration" icon itself in horde/menu.php?  

> The cheap and dirty work-around would be to have a status='admin' or
> similar in the status section.

Yes, but we often get this request for non-admin access.  People often 
want a specific group, not always admins, to be able to access a certain
app.  So a more generic method would be more useful.

> Otherwise things get MUCH more
> complicated because we would need to go to the perms system and
> implement the feature people have been asking for for quite a while now,
> user-based access to modules.

Yes, user or group based to be exact.
 
> Is the permission system to the point we're ready to consider such a
> thing in the registry code (guest access could move there too), or
> should we do another status entry for now (or another setting)?

No idea myself ;)  But I'd sure like to see it, as I'd sure like to use it. :)
(And no, I'm not volunteering to code it...)

I'll be on vacation starting tomorrow until January 7th.  So don't
expect to hear to much more from me for a while.  Hope all you developers
have a great New Year!

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the dev mailing list