Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hi!
After updating Confluence to version 9.2.6, we encountered a problem where we couldn't view the page history.
Previously it was configured according to the instructions 'How do I prevent anonymous users from using page history?' and now both the authorized and anonymous user receives an error message.
authorized user:
anonymous user:
How to fix this problem?
Thanks!
Hi @Stumper Dumpel 👋
To prevent anonymous users from viewing page history after updating Confluence to version 9.2.6, you must disable anonymous access globally, as there is no UI option to hide page history specifically for anonymous users, and you will need to reapply the code change to the viewpreviousversions.vm
file if you previously used that workaround.
You can follow the below steps :
Reapply the Code Change (If You Had a Previous Workaround)
If you previously implemented a workaround to hide page history for anonymous users, you will need to redo this step because upgrading Confluence replaces its code.
- Locate the File: Navigate to your Confluence installation directory and find the file
viewpreviousversions.vm
within the<confluence-install>/confluence/pages/
directory.- Replace with the Modified Code: You will need to find the new or existing code for
viewpreviousversions.vm
for Confluence 9.2.6 and replace the old code with it.- Copy and Paste: This involves copying and pasting the new, correct code into the file.
I hope this help! 😊
Thanks,
Anwesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.