Hello,
I'm looking for a way to hide the page revisions from read-only users. In our wiki, anonymous users have only read access, and self-registered users have currently very limited write access until we add them to a "higher level" group.
I want to hide the page revisions for a user has only read access to this page from the user. I already managed to hide the recent changes from these user by editing inc/changelog.php (I know this won't survive an update) line 371 in function _handleRecent from
if ($recent['perms'] < AUTH_READ) return false;
to
if ($recent['perms'] < AUTH_EDIT) return false;
but I can't find a good line to hide the page revisions from read-only users. Any ideas how to achieve that?
Thanks for any hints and tips.
Regards,
Thorsten