[whups] About whups permissions and whups:admin

Chuck Hagenbuch chuck at horde.org
Thu Jan 27 07:25:55 PST 2005


Quoting Mathieu CLABAUT <mathieu.clabaut at free.fr>:

>    At first, I needed to give administration rights for whups to somebody
>    which has non need to have administration rights over the whole horde
>    framework. I tried to set up an whups:admin permission, but was unable
>    to set it without modifying
>    whups/lib/api.php:_whups_getTicketDetails() by applying the following
>    patch given bellow.

You mean _whups_perms? Anyways, yes, that patch is needed, I'm committing it.

>    Then the user newly privileged was unable to see the existing queues.
>    I need for each queue to give him admin privileges.
>
>    I indeed see teh following comment in
>    lib/Whups.php:permissionsFilter() :
>        // We purposely DO NOT use Auth::isAdmin('whups:admin') here,
>        // since admins local to Whups still need to be granted
>        // permission to the queues that they will administer.

Maybe we should change this assumption. Opinions?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the whups mailing list