This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-03-22 18:48:45 +01:00
parent 41e36a4545
commit 1d99749f72
12 changed files with 567 additions and 216 deletions

View File

@@ -1,29 +1,66 @@
server:
bind_address: "0.0.0.0:8080"
public_url: "http://localhost:8080"
redaction_text: "Busy (Private)"
redaction_text: "[REDACED]"
default_class: "CONFIDENTIAL"
database:
url: "postgres://nxcaldav@localhost:5432/nxcaldav?sslmode=disable"
users:
- name: "alice"
password: "password123" # Cleartext (will be hashed in DB)
- name: "bob"
password_cmd: "echo secretpassword" # Command (output will be hashed in DB)
- name: "charlie"
password: "$2y$12$LU.8xNK6m98hEJ5oRnBsDuMamfIjXoWTW0eMIJ6yGdLoP3nJAHWH6" # Example dummy hash
- name: "daniel"
password: "123"
groups:
- family
- klosterberg
- parent
- name: "diane"
password: "123"
groups:
- family
- klosterberg
- parent
- name: "georg"
password: "123"
groups:
- family
- kids
- name: "lennart"
password: "123"
groups:
- family
- kids
- name: "tessa"
password: "123"
groups:
- family
- kids
- klosterberg
- name: "testuser"
password: "123"
- name: "shared"
password: "123"
calendars:
- id: "Alice"
owner: "alice"
- id: "school"
owner: "lennart"
- id: "sport"
owner: "lennart"
- id: "family"
owner: "shared"
access:
- user: "bob"
mode: "read-only"
- id: "team_project"
owner: "alice"
access:
- user: "bob"
- groups: "family"
mode: "read-write"
- user: "charlie"
- id: "tessas-inbox"
owner: "tessa"
access:
- group: "parent"
mode: "read-write"
aggregates:
- id: "lennart"
owner: "lennart"
sources: ["school", "sport"]
access:
- group: "family"
mode: "read-only"