Out-of-the-box simple configuration

git-svn-id: http://svn.32rwr.info/radicale/trunk@5 74e4794c-479d-4a33-9dda-c6c359d70f12
This commit is contained in:
(no author)
2008-12-30 19:26:03 +00:00
parent 5e1a4d4131
commit e87d37703d
7 changed files with 72 additions and 13 deletions

25
radicale/acl/fake.py Normal file
View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8; indent-tabs-mode: nil; -*-
#
# This file is part of Radicale Server - Calendar Server
# Copyright © 2008 The Radicale Team
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
from .. import config
def users():
"""
Get the List of all Users
"""
return [config.get("acl", "defaultUser")]