Re: About whups permissions and whups:admin

Chuck Hagenbuch <[email protected]> Thu, 27 Jan 2005 10:25:55 -0500
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
Quoting Mathieu CLABAUT <[email protected]>:

>    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
-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]