'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

Accepted Answer
0 votes

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 Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

155 views 0 3
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