[Tickets #2138] Dynamically configured IMSP sources ignore horde permissions

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jun 22 12:37:02 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=2138
-----------------------------------------------------------------------
 Ticket             | 2138
 Updated By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | Dynamically configured IMSP sources ignore horde permissions
 Queue              | Turba
 Version            | HEAD
-State              | Assigned
+State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | Michael Rubinsky
+New Attachment     | turba.patch
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2005-06-22 12:37) wrote:

This patch changes the way Turba checks permissions.  It adds a
->hasPermission($perm) method to Turba_Object and  Turba_Driver.  Default
behavior of these methods is to check the Horde permission system (as
Turba::hasPermission() does now).  Concrete Turba_Driver instances can
override this in order to refer permission checking to the backend where
this makes sense.

I believe I caught all the places that checking permissions needed to be
changed.  This touches a fair amount of code so I thought it best to put up
here for review before committing.




More information about the bugs mailing list