Mailing List Archive

No write access to calendars after upgrade vom 0.9.7.6 to 0.9.8.1
Hi all.

First of all, I really like the DAViCal software, and I've been using it
for several years now (when it still was called RSCDS).

Until recently, all the upgrades worked fine for me. However, I have
several issues with the latest release. I'm using the DEB packages for
Debian Lenny for the installation.

After the upgrade, I ran the database update as required:

$ /usr/share/davical/dba/update-davical-database
The database is version 8.3 currently at revision 1.2.5.
Applying patch 1.2.6.sql ... succeeded.
Applying patch 1.2.7.sql ... succeeded.
Successfully applied 2 patches.
Supported locales updated.
Updated view: dav_principal.sql applied.
CalDAV functions updated.
RRULE functions updated.
Database permissions updated.

But since the upgrade I only have read-only access to my calendars, I
cannot create new events or todos.

So I logged in to the web interface and checked the permissons. The
default permissions that each user was automatically assigned to after
the upgrade is shown in the screen shot strange-user-rights.png, which
doesn't seem very reasonable to me.

But I'm still not able to write to my calendars after I gave myself all
rights per default. So I decided to create a new test user to see what
rights he receives and what the settings for his home calendar are set
to. I called the user "Testuser", but it is now displayed very strangely
in all user dropdown fields (see attached strange-user-list.png).

While playing with the access rights, I noticed some absolute URLs in
the web interface which should have been relative. Enclosed you find a
patched for this issue. I'm now able to view the "edit" form for the
access rights, but neither are the changes saved, nor can I delete a
grand that I made.

In addition, I did not find a way to delete the Testuser that I
previously created.

To sum it up, here are all the points I made for reference:

1. No write access to my calendars after upgrade, even with all
rights granted
2. Strange default access rights for users after DB update
3. Newly created user is displayed strangely
4. Patch for making absolute URLs relative
5. Still cannot edit or delete any grands
6. No option to delete a user

Thanks in advance for your help!

Cheers,
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: davical-0.9.8.1-absolute-url.patch
Type: text/x-patch
Size: 1540 bytes
Desc: not available
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100208/b2099ab7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strange-user-rights.png
Type: image/png
Size: 140814 bytes
Desc: not available
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100208/b2099ab7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strange-user-list.png
Type: image/png
Size: 20962 bytes
Desc: not available
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100208/b2099ab7/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100208/b2099ab7/attachment-0001.pgp>
-------------- next part --------------