{"action":"closed","issue":{"url":"https://api.github.com/repos/Kozea/Radicale/issues/251","labels_url":"https://api.github.com/repos/Kozea/Radicale/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/Radicale/issues/251/comments","events_url":"https://api.github.com/repos/Kozea/Radicale/issues/251/events","html_url":"https://github.com/Kozea/Radicale/issues/251","id":53681668,"number":251,"title":"Rights file not working when listing calendars","user":{"login":"wrt54gl","id":8867960,"avatar_url":"https://avatars.githubusercontent.com/u/8867960?v=3","gravatar_id":"","url":"https://api.github.com/users/wrt54gl","html_url":"https://github.com/wrt54gl","followers_url":"https://api.github.com/users/wrt54gl/followers","following_url":"https://api.github.com/users/wrt54gl/following{/other_user}","gists_url":"https://api.github.com/users/wrt54gl/gists{/gist_id}","starred_url":"https://api.github.com/users/wrt54gl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrt54gl/subscriptions","organizations_url":"https://api.github.com/users/wrt54gl/orgs","repos_url":"https://api.github.com/users/wrt54gl/repos","events_url":"https://api.github.com/users/wrt54gl/events{/privacy}","received_events_url":"https://api.github.com/users/wrt54gl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kozea/Radicale/labels/document","name":"document","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Kozea/Radicale/milestones/4","labels_url":"https://api.github.com/repos/Kozea/Radicale/milestones/4/labels","id":835860,"number":4,"title":"0.10","description":"","creator":{"login":"liZe","id":952243,"avatar_url":"https://avatars.githubusercontent.com/u/952243?v=3","gravatar_id":"","url":"https://api.github.com/users/liZe","html_url":"https://github.com/liZe","followers_url":"https://api.github.com/users/liZe/followers","following_url":"https://api.github.com/users/liZe/following{/other_user}","gists_url":"https://api.github.com/users/liZe/gists{/gist_id}","starred_url":"https://api.github.com/users/liZe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liZe/subscriptions","organizations_url":"https://api.github.com/users/liZe/orgs","repos_url":"https://api.github.com/users/liZe/repos","events_url":"https://api.github.com/users/liZe/events{/privacy}","received_events_url":"https://api.github.com/users/liZe/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":21,"state":"open","created_at":"2014-10-22T12:36:34Z","updated_at":"2015-01-12T17:21:47Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-07T21:00:58Z","updated_at":"2015-01-12T17:21:47Z","closed_at":"2015-01-12T17:21:47Z","body":"This happens when creating a new calendar on caldavsync and davdroid\r\n\r\nServer: Debian jessie with radicale V0.9 installed using git pull\r\n\r\nclient: caldavsync or davdroid on android v5\r\nserver name : example.com/test/\r\n\r\nIf I use type = owner_write in rights Radicale works fine but if I use type = from_file and put only this rule in the file:\r\n  [owner-read-write]\r\n  user: .+\r\n  collection: ^%(login)s/.+$\r\n  permission: rw\r\n\r\nThen I get the error: This URL seems not to point to a (supported) CalDav calendar or you don't have access to it. Please check your account data.\r\n\r\nIn the server logs:\r\n\r\n2015-01-07 13:47:54,704 - DEBUG: Sanitized path: /test/\r\n2015-01-07 13:47:54,704 - DEBUG: Connecting to IMAP server localhost:143.\r\n2015-01-07 13:47:54,712 - WARNING: IMAP server is local. Will allow transmitting unencrypted credentials.\r\n2015-01-07 13:47:54,770 - DEBUG: Authenticated IMAP user test via localhost.\r\n2015-01-07 13:47:54,771 - DEBUG: Reading rights from file /var/lib/radicale/testrights\r\n2015-01-07 13:47:54,771 - DEBUG: Test if 'test:test' matches against '.+:^test/.+$' from section 'owner-read-write'\r\n2015-01-07 13:47:54,771 - DEBUG: Section 'owner-read-write' does not match\r\n2015-01-07 13:47:54,771 - DEBUG: test has NO read access to collection test/\r\n2015-01-07 13:47:54,771 - DEBUG: Reading rights from file /var/lib/radicale/testrights\r\n2015-01-07 13:47:54,771 - DEBUG: Test if 'test:test' matches against '.+:^test/.+$' from section 'owner-read-write'\r\n2015-01-07 13:47:54,771 - DEBUG: Section 'owner-read-write' does not match\r\n2015-01-07 13:47:54,771 - DEBUG: test has NO write access to collection test/\r\n2015-01-07 13:47:54,772 - DEBUG: Request content:\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\" ?><A:propfind xmlns:D=\"urn:ietf:params:xml:ns:caldav\" xmlns:C=\"http://apple.com/ns/ical/\" xmlns:B=\"http://calendarserver.org/ns/\" xmlns:A=\"DAV:\"><A:prop><B:source/><A:displayname/><A:current-user-privilege-set/><A:resourcetype/><A:resource-id/><C:refreshrate/><D:supported-calendar-component-set/><A:getetag/><C:calendar-color/></A:prop></A:propfind>\r\n```\r\n2015-01-07 13:47:54,772 - DEBUG: Response content:\r\n```\r\n<?xml version=\"1.0\"?>\r\n<multistatus xmlns=\"DAV:\" />\r\n```\r\n2015-01-07 13:47:54,772 - DEBUG: Answer status: 207 Unknown\r\n"}}