Hello,
according to
https://www.dokuwiki.org/acl#user_wildcards, one can use a %USER% wildcard in acl.auth.php to shorten the ACL list. I have a few users currently registered in my DokuWiki, and I've set up a homepage structure for every user with a "public" homepage (readable by anyone, editable only by the user itself) and a "private" homepage (readable and editable only by the user itself). This is what the ACL looked like before using the wildcard:
homepage:* @ALL 1
homepage:andrea:* andrea 16
homepage:andrea:privat:* @ALL 0
homepage:andrea:privat:* andrea 16
homepage:holzseehunde:* holzseehunde 16
homepage:holzseehunde:privat:* @ALL 0
homepage:holzseehunde:privat:* holzseehunde 16
homepage:m._heinrich:* m%2e%5fheinrich 16
homepage:m._heinrich:privat:* @ALL 0
homepage:m._heinrich:privat:* m%2e%5fheinrich 16
homepage:meysche:* meysche 16
homepage:meysche:privat:* @ALL 0
homepage:meysche:privat:* meysche 16
homepage:myjuergen:* myjuergen 16
homepage:myjuergen:privat:* @ALL 0
homepage:myjuergen:privat:* myjuergen 16
homepage:tniederkrome:* tniederkrome 16
homepage:tniederkrome:privat:* @ALL 0
homepage:tniederkrome:privat:* tniederkrome 16
and this is what the ACL looked like after using the %USER% wildcard:
homepage:* @ALL 1
homepage:%USER%:* %USER% 16
homepage:%USER%:privat:* @ALL 0
homepage:%USER%:privat:* %USER% 16
Unfortunately, this doesn't seem to work. When I check the ACL in the admin interface, all pages below the homepage:-Namespace are reported as "readable by everyone", and no one (except me, but I'm @admin) is allowed to write anywhere. It looks like only the acl "homepage:* @ALL 1" is taken into account.
Am I missing something?
I'm using DokuWiki Release 2017-02-19e "Frusterick Manners" with Bootstrap3-Template. All plug-ins and the template are up-to-date.
Thanks for every help.
Regards, Thorsten