Suppress Picture link in Profile - anyone know which decorator(s)?

I want to remove the option for the user to add their own picture by suppressing the 'Picture' link in the profile view. Trouble is I can't figure out which decorator this is stored in, can anyone help me out? Ideally I would like to re-assign the right to add a picture to Admins only but one step at a time now.


1 answer

1 accepted

1 vote
Accepted answer

It's a web-item in the bundled "Profile Tabs" plugin, which you can't disable.

In my opinion the simplest solution would be to hide the link with some custom CSS:

#section-list-yourprofile a[href="/users/editmyprofilepicture.action"] {
	display: none;

Though the action would still be available, but the user would have to know the exact url to access it.

Perfect! I am moving from a locked down 2.7.3 to doing some dev and testing in 3.4.6 and the last couple of days it has dawned on me how much I can do with CSS and user macros, completely changes my perspective! Many thanks.

Great, I'm glad that this works! If this answers your question, you may want to accept the answer to mark the question as answered.

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 ...

792 views 33 5
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