'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 votes
Accepted answer

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,219 views 78 8
Join discussion

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