'Not Permitted' Confluence page customization

Hi There

My Confluence instance contains a set of spaces, each of them having its permission scheme defined the same way, with some groups.

I'd like to know whether anyone tried to customize the 'Not Permitted' message, displayed whenever a user tries & accesses a page to which he's not granted access, so that, instead of a mere 'Not Permitted' message, he gets, for instance, the list of Space Admins he should get in touch with, to be granted access to the concerned space.

Is it possible to do that? Or if not, is it possible to add , to the message, at least a link to a Confluence page, which would list, for all spaces, their Space Admins?

Any comment/help is welcome :)

Thanks

1 answer

1 accepted

0 vote

Hi Regis,

It seems this would be possible by editing the velocity template of the page as we can see in this answer.

This is possible by editing the Velocity Template for that page, which can be found in the following location: <confluence_install_directory>/confluence/pages/pagenotpermitted.vm

I recommend to backup the file before attempting any modification so you can restore it in case something goes wrong.

Cheers!

Rodrigo

Thanks Rodrigo.

For sure, we are not used modifying files without keeping the current version before :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

603 views 18 16
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you