'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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

121 views 12 6
Read article

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