gkrid / dokuwiki-plugin-approve

GNU General Public License v2.0
4 stars 17 forks source link

Read only users can't access pages with unapproved drafts #19

Closed leggettc18 closed 4 years ago

leggettc18 commented 4 years ago

We recently installed the plugin and have the hide_drafts_for_viewers option enabled. When our read only users accesses a page that has a draft waiting for approval, rather than getting the last draft their browser gives them an error page stating that they were redirected too many times. What could be the cause of this?

leggettc18 commented 4 years ago

We also have it set so that you have to be logged in as one of our users to view any pages, and if the start page is one of the pages where the redirect issue occurs, the browser displays the too many redirects error before the login screen shows up.

solewniczak commented 4 years ago

This should be fixed in my last commit. Please let me know if it works for you.

leggettc18 commented 4 years ago

Yes it is working now. Thanks for getting back so fast. Any idea when this version will be uploaded to the Extension manager so I know when to switch back to using that? Or do I just need to watch for a new "last updated" date on the extension page?

solewniczak commented 4 years ago

I will update the plugin version in dokuwiki.org today evening. After that it should be visible in Extension manager.

leggettc18 commented 4 years ago

Wow, that's perfect! Thanks for all the work that you do! This extension is exactly what we needed for our workflow, its comforting to know that if bugs are found it has a very active developer, at least for the moment.