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

[Jack Jackrum] Pages display and edition forbidden even for admin user on pages without prior approved version page #184

Open Nif9 opened 5 months ago

Nif9 commented 5 months ago

Issue Description

On my wiki, I see a strange behavior of few (4) pages in the same namespace (containing 12). Experience: As admin user, for this pages, I open it and get a "permission denied" message on display. Same occurs when trying to edit it. I can see the list of previous revisions and when trying to open it, I get the same access denied. In the site map, these 4 pages are no more referenced in the page tree view.

Investigations I deactivated Publish plugin and everything worked fine back (that's why I post this issue on this plugin). I activated it again : error message went back. I uninstall/install it again, this does not fix my issue.

With the list of all unapproved pages, I have access to "approve the whole category". When I try to open each page, the 4 with errors remains with error, others works fine. When I approve the whole category, I get my pages back to normal behavior (displayed and editable) but these pages are not approved, it's under review, and I don't have any prior approved version on these pages.

The last edition of the page is March this year: nothing specific had happened on the platform.

Browser console messages Firefox: original: Erreur dans les liens source : NetworkError when attempting to fetch resource. URL de la ressource : moz-extension://becc7fb0-04db-4dbf-bd88-fb5480d17f20/model/static/DOMPurify/purify.min.js URL du lien source : purify.min.js.map translated: Error in source links: NetworkError when attempting to fetch resource. URL of the resource: moz-extension://becc7fb0-04db-4dbf-bd88-fb5480d17f20/model/static/DOMPurify/purify.min.js Source link URL: purify.min.js.map

Chrome: jquery.php?tseed=f03…485af8fd8ecd4aea4:2 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 

Conclusion Here is my partial diagnostic, the issue occurs on pages not having previous approved revision (I checked it and discovered other permission deny message). Maybe the banner (which indicates prior approved version) is on error and prevent operation on the page?

FYI: with "Jack Jackrum" version and already reported issues, the plugin doesn't fit my expectation no more. I'm under seeking an alternative plugin.

Nif9 commented 5 months ago

Also, consider updating the compatibility status of the plugin with Jack Jackrum. I can edit (just edit the page and add !Jack Jackrum) it but would like to get your feedback first.