mantisbt / dokuwiki-plugin-authmantis

Enables single sign-on to DokuWiki using MantisBT as authentication back-end
https://www.dokuwiki.org/plugin:authmantis
GNU General Public License v3.0
2 stars 1 forks source link

Error: No ACL setup yet! by using SSO #3

Closed sigma5345 closed 1 year ago

sigma5345 commented 3 years ago

Hello developers,

I'm using authmantis in the newest version. The configuration is equal to the instructions on this page. I use the following environement:

I have the following problem. Normally the user are already existing in MantisBT database. I expected that they can use SSO with no login to my wiki. Basically it works normal. But when i wanted to open a link to a direct page, for example: https://mydserver.com/dokuwiki/doku.php?id=abc i get an error in the header, footer and sidebar: "No ACL setup yet! Denying access to everyone." and in the mainpage the error is: "Zugang verweigert Sie haben nicht die erforderliche Berechtigung, um diese Aktion durchzuführen. Angemeldet als: Domain\Username (Domain\Username)." (Translation: Access denied You do not have the required permission to perform this action. Logged in as:...). But after I press F5 or reloading the page everything is fine and no errors are shown.

Have you any ideas about this? I hope i made a mistake in my configuration, but I checked everthing twice.

With the best wishes sigma

Error_Dokuwiki

dregad commented 1 year ago

Hello @sigma5345 apologies for the (very) late reply, I didn't notice this until today... I assume (hope) that you have resolved the problem since then, but in case you have not, I believe it is most likely caused by incorrect ACL config.

Check conf/acl.auth.php, and make sure you authorize at least read access for @ALL, e.g.

*   @ALL    1

For more information on DokuWiki ACLs, read : https://www.dokuwiki.org/acl#access_restrictions