updated dokuwiki state
This commit is contained in:
parent
40c5b9dfd0
commit
220131da19
@ -8,10 +8,10 @@ dokuwiki:
|
|||||||
group: www-data
|
group: www-data
|
||||||
config:
|
config:
|
||||||
title: "Dokuwiki"
|
title: "Dokuwiki"
|
||||||
license: '0'
|
license: "0"
|
||||||
useacl: 1
|
useacl: 1
|
||||||
superuser: '@admin'
|
superuser: "@admin"
|
||||||
disableactions: 'register'
|
disableactions: "register"
|
||||||
savedir: '/home/dokuwiki'
|
savedir: "/home/dokuwiki"
|
||||||
acls: {}
|
acls: {}
|
||||||
users: {}
|
users: {}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<?php
|
|
||||||
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
|
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
|
||||||
{%- for key, value in dokuwiki.acls.items() %}
|
{%- for key, value in dokuwiki.acls.items() %}
|
||||||
{{ value.scope }} {{ value.apply }} {{ value.right }}
|
{{ value.scope }} {{ value.apply }} {{ value.right }}
|
||||||
|
@ -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 %}
|
{%- 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(",") }}
|
{{ name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups)|join(",") }}
|
||||||
{%- endfor %}
|
{% endfor -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user