1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-07 18:30:54 +00:00
A simple CalDAV (calendar) and CardDAV (contact) server. https://radicale.org/
Find a file
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
bin Update copyright years 2013-04-26 01:28:03 +02:00
radicale Fix access to collections 2014-01-19 20:04:37 +01:00
tests Simplified tests structure 2013-12-28 14:40:29 +04:00
.gitignore Add tox configuration 2012-10-19 12:38:18 +02:00
.pylintrc Un-revert some lost commits 2012-08-08 16:37:18 +02:00
config fixed default config 2013-12-29 18:30:53 +04:00
COPYING Adding package documentation files 2009-09-01 15:59:18 +02:00
logging Minor typo fix in the logging configuration file 2011-05-13 10:40:25 +02:00
MANIFEST.in Add the default SQL schema into the MANIFEST 2013-06-28 16:48:11 +02:00
NEWS.rst Update NEWS 2013-12-30 13:54:14 +01:00
radicale.fcgi Update copyright years 2013-04-26 01:28:03 +02:00
radicale.py Update copyright years 2013-04-26 01:28:03 +02:00
radicale.wsgi Update copyright years 2013-04-26 01:28:03 +02:00
README Update README 2013-08-12 18:36:55 +02:00
README.rst Update README 2013-08-12 18:36:55 +02:00
rights Fix wrong syntax in config file and fix #58 2013-12-23 16:45:15 +01:00
schema.sql Fix database Fix bug #77 HELL YEAH ! 2013-12-17 14:35:55 +01:00
setup.py Different rights management backends 2013-12-25 03:44:24 +04:00
TODO.rst Update NEWS and TODO 2013-07-09 13:08:15 +02:00
tox.ini Add new deps in tox, remove 3.1 support 2013-09-24 18:44:32 +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).