Christoph Polcin 90d82d044c Fix access to collections
under certain conditions it was possible to pass the final access control
if-clause. the master branch granted access if:

    if ((read_allowed_items or write_allowed_items)
        and (not user or auth.is_authenticated(user, password))) or
        function == self.options or not items:

the easy-connect branch from pull request #95 adds:
    (is_authenticated and function == self.propfind) or

the last `or not items` condition levers out the previous authentication and
access control. that isn't that big secuity issue because in this case there
are no collection and items at all. but "bad" and anonymous users could gather
data and information which not destined for them.

this commit fixes and simplifies the if-clause.
2014-01-19 20:04:37 +01:00
2013-04-26 01:28:03 +02:00
2014-01-19 20:04:37 +01:00
2013-12-28 14:40:29 +04:00
2012-10-19 12:38:18 +02:00
2012-08-08 16:37:18 +02:00
2013-12-29 18:30:53 +04:00
2009-09-01 15:59:18 +02:00
2013-12-30 13:54:14 +01:00
2013-04-26 01:28:03 +02:00
2013-04-26 01:28:03 +02:00
2013-04-26 01:28:03 +02:00
2013-08-12 18:36:55 +02:00
2013-08-12 18:36:55 +02:00
2013-12-25 03:44:24 +04:00
2013-07-09 13:08:15 +02:00

Radicale is a free and open-source CalDAV and CardDAV server.

For complete documentation, please visit the Radicale online documentation
(http://www.radicale.org/documentation).
Description
Adapted fork of radicale
Readme 3 MiB
Languages
Python 90.4%
JavaScript 8.3%
HTML 1.2%
Dockerfile 0.1%