updated dokuwiki state

This commit is contained in:
Paul 2022-10-01 20:09:25 +02:00
parent 40c5b9dfd0
commit 220131da19
3 changed files with 7 additions and 8 deletions

View File

@ -8,10 +8,10 @@ dokuwiki:
group: www-data
config:
title: "Dokuwiki"
license: '0'
license: "0"
useacl: 1
superuser: '@admin'
disableactions: 'register'
savedir: '/home/dokuwiki'
superuser: "@admin"
disableactions: "register"
savedir: "/home/dokuwiki"
acls: {}
users: {}

View File

@ -1,4 +1,3 @@
<?php
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
{%- for key, value in dokuwiki.acls.items() %}
{{ value.scope }} {{ value.apply }} {{ value.right }}

View File

@ -1,5 +1,5 @@
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
{%- from "dokuwiki/map.jinja" import dokuwiki with context -%}
{%- from "dokuwiki/map.jinja" import users with context %}
{%- for name,user in users.items() %}
{%- for name, user in users.items() %}
{{ name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups)|join(",") }}
{%- endfor %}
{% endfor -%}