Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to disable avatar for inactive users?

Due EU Laws (EU General Data Protection Regulation / EU-DSVO)  we need to change the information related to inactive / disabled users:

  • remove avatar
  • anonymization of the name

Is there any configuration available to do this automaticaly?

The user name can be changed by the ldap: Should be easy. But how can i disable or overwrite the avatar for inactive users?

Regards

Manuel

2 answers

0 votes
Danyal Iqbal Community Leader Feb 22, 2018

taek a backup before attempting this:

There are 4 tables involved here:

  • avatar stored the avatar list
  • propertyentry stored the association between user and the avatar. using "property_key=user.avatar.id" to search for the mapping
  • propertynumber stored the current avatar used
  • external_entities stored the username

A good place to start is the following sql:

SELECT u.lower_user_name,a.*
  FROM app_user as u left join propertyentry as pe 
 on pe.entity_id=u.id
  left join propertynumber as pn on pe.id=pn.id
   left join avatar as a on a.id=pn.propertyvalue
  where 
 entity_name = 'ApplicationUser'  and property_key='user.avatar.id';

Did you find any automated way to delete inactive users' avatar?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you