[Kolab-devel] Permissions problems in Kronolith
diegows at xtech.com.ar
Mon Jan 21 02:16:24 CET 2008
I'm working on a bug when one user tries to add an event to other
user's calendar. The problem is that ImapFolder_Permission::getPerm()
must use MYRIGHTS IMAP command to check the current user permissions on
a folder. I have added getMyRights() method to
Kolab_IMAP_Connection_pear() and forced the use of pear instead of
c-client (PHP IMAP extensions doesn't have myrights()).
Now the check of PERMS_EDIT works fine but the problem is PERM_DELEGATE.
I don't undertand the meaning of DELEGATE and coudln't find the
con-stant on /kolab/lib/php.
I attach my patch. It's a temporal workaround. We should add the
imap_getmyrights() function to php5 extension or directly use pear
XTECH - Soluciones Linux para empresas
(54) 011 5219-0678
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2247 bytes
Desc: not available
More information about the devel