How to customize the "Not Permitted" page
Product customizations are outside of Support scope as described on the Atlassian Support Offerings Page. For in-depth customization requests, please refer to our Developer Network or Atlassian Partners.
This page gets you started on customizing the Confluence "Not Permitted" page with your own logo or custom text.
The contents covered in this page will not change the actual permission process, but what end users see when they try to access Confluence without user permissions (Eg. a Jira user which is not a member of the confluence-users group).
We recommend testing the changes on a Test instance before applying them to Production.
Customize the .vmd file:
- Navigate to the <Confluence-Install>/confluence directory.
Locate and backup the notpermitted.vm file.
Edit the file with a text or code editor to make your changes.
Please note: the template contains a mix of HTML markup and Velocity content, see Velocity Template Overview (in our developer documentation) for more information.
- Refresh the page. You may need to clear your browser's cache.
Here's an example with a simple text added on line 13:
<html> <head> <title>$action.title</title> <meta name="decorator" content="atl.general"> $webResourceManager.requireResourcesForContext("error.page") </head> <body> #parse ( "/breadcrumbs.vm" ) <div id="content" class="access-error-container $action.cssClass"> <div class="access-error"> <h2>$action.title</h2> <p>$action.message</p> <p>Contact <b>Charlie of Atlassian</b> (firstname.lastname@example.org) for requesting access to Confluence.</p> </div> </div> </body> </html>