Primitive access for private pages

Tento commit je obsažen v:
Dirk Alders 2024-10-07 22:01:01 +02:00
rodič fd5c50c662
revize a261fd1035

Zobrazit soubor

@ -1,7 +1,7 @@
# TODO: Implement access control for pages
def read_page(request, rel_path):
return True
return "private" not in rel_path or write_page(request, rel_path)
def write_page(request, rel_path):