cosmocode / dokuwiki-plugin-publish

Some improvements on the original plugin by Jarrod Lowe
http://www.dokuwiki.org/plugin:publish
21 stars 34 forks source link

"Publish" plugin breaks ACL #191

Open anatoly-mt opened 1 month ago

anatoly-mt commented 1 month ago

Issue Description

If the Publish plugin is enabled, the hit to an unexistent page produces the error message:

Permission Denied
Sorry, you don't have enough rights to continue.

Interestingly, the "Create this page" button is active yet it produces the same error message when pressed.

As soon as plugin is disabled, the normal newpage invitation gets back:

This topic does not exist yet
You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it...

DokuWiki version: 2024-02-06b "Kaos" Plugin version: 2024-09-24

anatoly-mt commented 1 month ago

I'm using the "bootstrap3" template. Tried switching to default "dokuwiki" template - the problem persists.

anatoly-mt commented 1 month ago

acl.auth.php:

*   @ALL    1
*   @moderator  16
admin:* @ALL    0
en:common:* @ALL    0
en:common:* @user   1
en:rule:*   @user   8
en:term:*   @user   8
en:tool:*   @user   8
playground:*    @ALL    8
ru:common:* @ALL    0
ru:common:* @user   1
ru:rule:*   @user   8
ru:term:*   @user   8
ru:tool:*   @user   8
user:*  @ALL    0
user:*  @user   1
user:%USER% %USER%  2
user:%USER%:*   %USER%  16