This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Report a Bug

#BugReportDecidim Let's test Decidim and report bugs together

  • The process
  • I found a Bug!
chevron-left Back to list

Admin can delete a whole participatory process even if it contains elements

Avatar: Oliver Valls Oliver Valls
11/07/2018 15:23  
Accepted

This bug report has in turn two bugs reported:
1. From the Backoffice, an Admin can delete a whole participatory process even if it contains elements (like components with Proposals).
2. In this case the Participatory Process and all its Components are deleted, but the Proposals (with comments, votes, etc..) remain in the database orphaned as garbage. The same may probably happen to blog posts, debates, etc..

I expect the admin panel to either block deletion if the space contains data or allow deletion but advise the admin that the space contains data, in this latter case all the data inside the space should be deleted in cascade.

The same may happen to Assemblies, initiatives, etc.

  • Filter results for category: 0.12.x 0.12.x

This proposal has been accepted because:

This incidence has been solved. Closed via #4641.

Thank you for contributing!

List of Endorsements

Avatar: Pau Parals Pau Parals verified-badge
Endorsements count1
Admin can delete a whole participatory process even if it contains elements Comments 2

Reference: MDC-PROP-2018-07-13046
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 8df139ffee8344e8685398695799527ca15228da91c0759b92b6ac3aa8fc56df

Source: {"body":{"en":"This bug report has in turn two bugs reported:\r\n1. From the Backoffice, an Admin can delete a whole participatory process even if it contains elements (like components with Proposals).\r\n2. In this case the Participatory Process and all its Components are deleted, but the Proposals (with comments, votes, etc..) remain in the database orphaned as garbage. The same may probably happen to blog posts, debates, etc..\r\n\r\nI expect the admin panel to either block deletion if the space contains data or allow deletion but advise the admin that the space contains data, in this latter case all the data inside the space should be deleted in cascade.\r\n\r\nThe same may happen to Assemblies, initiatives, etc."},"title":{"en":"Admin can delete a whole participatory process even if it contains elements"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/bug-report/f/210/proposals/13046/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/bug-report/f/210/proposals/13046/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

2 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Avatar: Xabier Xabier verified-badge
01/08/2018 18:45
  • Get link Get link

Sorry to join the discussion so late. @oliver_valls I agree with everything except for the last part. As Decidim designer/developers we have to protect participants from evil organizations. There is a potential admin attack to democracy that involves deleting and process and creating a new one with the same name if they don't like the results. In order to avoid this, or to be able to show that this actually happened and your proposal got X number of support, we kept the proposals visible even if the process is deleted. Not sure this is the best solution, but I think you can understand the problem behind. How could we solve it?

Avatar: Oliver Valls Oliver Valls
01/08/2018 18:48
  • Get link Get link

Maybe we could solve it by not allowing the deletion of the process if it has user content? (proposals, comments, votes...)

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?