splitbrain / dokuwiki-plugin-translation

Easily setup a multi-language DokuWiki
http://www.dokuwiki.org/plugin:translation
23 stars 24 forks source link

ACL support #256

Closed Rainbow-Spike closed 3 years ago

Rainbow-Spike commented 5 years ago

A user of Comicslate just noticed an incomprehensible bug, probably related to the overload of the ACL.

Due to the lack of a prefix (language) mask for ACL, I have to block access to a number of comic folders by listing all 21 supported languages, so the acl.auth.php file now weighs 61,404 bytes. http://screenshot.ru/9b192ecc9194db6e4cd49142afb13800.png

Anonim user went to a page https://comicslate.org/ru:sci-fi:freefall:3330 that inherits a * @ALL 8 rule and he gets "denied access". All @ACL 0 related rules describe exact addresses not associated with the request point. The nearest restrict rule is ru:sci-fi:final-sunrise:* @ALL 0

Anonym access through private window proved a problem, and a test account with user rights was also unable to access. I added the rule ru:sci-fi:freefall:* @ALL 8, but anonyms still did not get access, only users are ok. What should I do?