how to configure radicale rights file [SOLVED]

Hello everyone, In a previous mail (2015-01-14 @ 09:56), I was asking how to configure radicale permissions in order to allow access and shared calendars used by thunderbird, davdroid and caldavzap. It is now working and I will tell you about my configuration. This is what I wanted to do :
With radicale v0.9
How would configure the rights file in order to get the following behaviour :
existing calendars :
user1/private1 user1/shared1
user2/private2 user2/shared2
rights :
- each user car read an write his own calendard - user1 can *read* user2/shared2 calendar - user2 car *read an write* user1/shared1 calendar
First, I have to tell that I was so desperate that tried everything. Among those "everythings", I upgraded radicale to radicale v0.10. Some settings or features might not work with previous versions. Ploc Here is the content of my rights file : ================================================ [authenticated user can read root path] user: .+ collection: ^/$ permission: r [owner can write its collections] user: .+ collection: ^%(login)s.*$ permission: rw [user1 can read user2] user: ^user1$ collection: ^user2$ permission: r [user1 can read and write user2/shared2] user: ^user1$ collection: ^user2/shared2$ permission: rw [user2 can read user1 and user1/shared1] user: ^user2$ collection: ^(user1|user1/shared1)$ permission: r ================================================
participants (1)
-
Ploc