'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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

346 views 20 10
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