How to disable profile editing by users
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Purpose
To prevent users from editing their profile.
Customisations are not supported
Note that Atlassian support does not cover customisations to Velocity files, such as those described on this page.
All files should be located under <confluence-install>\confluence\users
.
Solution
Removing the Save Profile Option.
To remove the option that allows people to select save changes to their profile, you will need to edit the Velocity template (.vm
file) as described below.
Locate your
editmyprofile.vm
file under<confluence-install>\confluence\users\editmyprofile.vm
Edit this file with your favorite editor, such as Wordpad, Notepad or Notepad++ (recommended). The file looks something like this:
- Save the file. You can reload your page and see the changes. There is no need to restart Confluence.
After following the above steps, you will have something like this:
And Something like this too: