Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

finished not yet on protocol

GDPR Compliance - Automate deletion of inactive users' accounts

Is your feature request related to a problem? Please describe.

GDPR states that personal data should only be kept the shortest time possible. Currently, if a user doesn't use his account (e.g. 12 months of inactivity), his data are kept forever (unless the user connects to his account and deletes it).

https://ec.europa.eu/info/law/law-topic/data-protection/reform/rules-business-and-organisations/principles-gdpr/how-long-can-data-be-kept-and-it-necessary-update-it_en

Describe the solution you'd like
Some cities are asking us for a feature to automatically delete users' accounts that haven't been used in a certain period of time. First they would receive an email asking them to connect if they want to keep their account. If they don't connect in a certain period, the account is deleted.

There is a possibility to fund the development of the feature.

13 comments

  1. Is there any news about this feature? It would be interesting to automate the anonymization of at least some personal data.

    4 votes up 0 votes down
  2. In favour

    @ Really necessary feature! Have you had the chance to continue with this? We from the City of Zürich are currently working on our data protection concept for our decidim platform and have to include a feature like this.

    We suggest implementing it exactly as you mentioned, with an E-Mail being sent out e.g. 7 days in advance. When the account is deleted, all the content is made anonymous (similar to when someone deletes their own account).

    1 votes up 0 votes down
    1. Hey Lars !
      Any chance you have developed it ?
      Possibility to add it to Decidim base ?

      0 votes up 0 votes down
      1. Hey Antoine,

        Nope, not yet, and I'm afraid we won't be able to fit this in this year's budget. This might also be affected by the backend redesign. @product what are your thoughts on this?

        0 votes up 0 votes down
  3. In favour

    Hey there!

    OSP clients are asking for it as well (we even created another proposal, sorry) , seems to be a relevant and necessary feature. @product let us know what your take on the redesign is regarding this addition 😉

    We could jump on a quick call next week with all interested, discuss how to co-finance and transform this need into a solution? ☺️

    0 votes up 0 votes down
    1. In fact, there is an added problem with these users. Although it is true that the user is anonymized, if he has activated receiving newsletters, decidim continue sending mails in this email. this means that many emails don't arrive and the email service gets a bad name and reputation. Alfons from @colectic detected it.

      1 votes up 0 votes down
  4. I wonder what happens to the users who had verified their accounts.
    For now, even if a user deletes their account they do not lose their verification and if they later re-register, they will not be able to verify themselves.
    I know there is a "Conflict verifications" feature but I suggest the possibility that when users who have been inactive for more than a year are deleted, their verification data will also be unlinked.

    In addition, I would like to have the option to edit how much time should pass until you want to delete the accounts. I say this because I work with entities that use the platform once a year and in my case I would be better off with a two year margin, for example. What do you think?

    0 votes up 0 votes down
    1. Security wise, verification should probably be lost after the desactivation, because if not, someone else could create an account using someone else's email (an edge case, for sure, but still interesting to consider).

      In our internal early specs, we wanted the inactivity period to be customizable from the BO.

      Open Source Politics clients could co-finance part of the development costs and develop it, but we're looking for fellow implementors or users to chip-in financially. Let me know if that could interest you!

      1 votes up 0 votes down
  5. Hello,

    With Belgian Parliement, we have started the development of the deletion of accounts if inactive.

    Current scope of work :
    If user has not connected for the last 12 months : send by email confirmation that account will be deleted “if no reaction within 1 month”. (the user has to click on the link to connect on the platform)

    --> if no reaction after 13 months of inactivity: deletion of user profile --> replaced by “user who has deleted his account”. But we keep its interactions (comments, proposals, votes, …)
    --> Mail send to confirm account deleted
    --> Adaptable timelines in days ( current is 365 for mail and 390 for deletion)
    Once we have a PR, we'll share it.

    1 votes up 0 votes down
  6. Hey everyone! Just wanted to let you know that the first version of the module is available https://github.com/OpenSourcePolitics/decidim-module-cleaner ! 🎉

    2 votes up 0 votes down
    1. Thanks for the heads-up! Added to decidim.org/modules as well.

      1 votes up 0 votes down
  7. Hello @product !

    Following @AntoineBIllard 's comment up there, we've finished the development of deletion of accounts based on GDPR requirement. Would you be interested in the PR?

    This is what it does:

    If user has not connected for the last X months : send by email confirmation that account will be deleted “if no reaction within X month”. (the user has to click on the link to connect on the platform)

    --> if no reaction after X months of inactivity: deletion of user profile --> replaced by “user who has deleted his account”. But we keep its interactions (comments, proposals, votes, …)

    --> Mail send to confirm account deleted

    --> Can adapt timings (in months or days)

    Thanks!

    0 votes up 0 votes down
    1. hi!

      0 votes up 0 votes down

Sign in with your Atmosphere account to comment.