Re: new_Event

Aleksander Machniak <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <5065EC3C.5020904__16813.7193927125$1348856909$gmane$org@kolabsys.com>
On 09/28/2012 08:16 PM, Thomas Brüderli wrote:

> I assume it be a). In order to debug this, please add the following debug
> line to plugins/calendar/drivers/kolab/kolab_calendar.php right after
> if ($this->ready) near line 62:
> 
>   console($this->get_owner(), $_SESSION['username']);
> 
> You'll then find the two names written to logs/console. If they are not
> equal, you're probably missing the kolab_auth plugin which is also part of
> a working Roundcube+Kolab installation and which converts the login name to
> the canonical user name used throughout the system.
> 
> I admit, that the comparison of the user names if probably not the best way
> to determine folder permissions. Maybe we should replace that with
> 
>   if ($this->storage->get_namespace() == 'personal')

Something like that is already done in get_owner(). Also, see that
CAPABILITY response doesn't list ACL.

-- 
Aleksander Machniak
Software Developer
Kolab Systems AG: http://kolabsys.com
PGP: 19359DC1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.