[Tickets #3648] create_default_histories fails

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Mar 30 08:28:24 PST 2006


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

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=3648
-----------------------------------------------------------------------
 Ticket             | 3648
 Updated By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | create_default_histories fails
 Queue              | Turba
 Version            | HEAD
 State              | Assigned
 Priority           | 1. Low
 Type               | Bug
 Owners             | Michael Rubinsky
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2006-03-30 08:28) wrote:

> Yes, but it's still broken if used with shared sources.
> Turba::permissionsFilter($cfgSources, 'source', PERMS_EDIT);
> doesn't return any shared sources.

I believe it's failing because, unless I'm missing something,  the
share/permissions system doesn't seem to care if the user is listed as an
admin or not. I don't know if that is by design or not, so I'm not sure if I
should implement this check at the turba level, or implement it at the
framework level, so that if the user is listed as an admin in the global
horde configuration, DatatreeObject_Share::hasPermission will always return
true?  That seems like a Bad Thing to me, although I may be just paranoid.




More information about the bugs mailing list