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.

thanks

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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,032 views 15 13
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