Revoking and renewing Decidim authorizations

Learn how revoking and renewing Decidim authorizations keeps participant verification current between processes, and what to configure, test and communicate before the next vote opens.

On this page

Why Decidim authorizations need revoking and renewing between processes

Revoking and renewing keeps Decidim verifications current, and it is needed whenever a verification should stop counting for a later action. An administrator who runs several processes on one platform cannot assume that a check completed last year still proves anything about a participant today. Members leave, residents move, and census lists change, so the question for each new process is whether a participant verified earlier should still be allowed to vote, sign or propose. Decidim includes flexible identity verification and authorization systems so organizations can restrict actions such as voting or signing to verified participants, which means the answer to that question has direct consequences for who can act.

The important point is that revocation and renewal behavior depends on the authorization method in use. A method that checks a live external census, an SMS code, a postal code or an uploaded identity document each has different expiry logic, and some methods may not offer renewal at all. Before a process opens, confirm in your installed version which methods can be revoked in bulk, which can be revoked by date, and which need an administrator to act on individual participants. Write down the rule you intend to apply for each method, because a rule that exists only in your head will not match what the platform does when a process closes and another one opens.

Once the rule is set, plan how participants will learn that they must verify again. A renewal that silently blocks a vote produces support requests at the worst moment, so decide in advance what message appears in the platform, what the verification instructions say, and how the change is communicated outside Decidim. Test the full path with a test account in a staging copy before the first live process, and confirm exact behavior against the documentation for your Decidim version, since the authorization features change between minor releases.

Revocation and renewal options and when each fits

This table compares revoking all authorizations, revoking by date, and renewable workflows with a set time between renewals. Read each row against the next budget cycle, membership refresh or census update you have planned, and use the admin check column before you change anything for live participants.

OptionWhen it fitsWhat participants experienceWhat the admin must check
Revoke all authorizationsA clean reset before a new budget cycle or a fully refreshed census, where no earlier verification should carry overEvery participant must verify again before taking restricted actions, including people who verified recently for an unrelated processConfirm which components depend on the revoked method, that replacement verification is open before the reset, and that support messages are ready
Revoke by dateA cutoff that matches a known event, such as a membership year end or a census snapshot dateOnly verifications completed before the cutoff lose validity, so recent participants keep their accessCheck the cutoff against the timestamps the platform stores, and confirm with your census owner which records fall on each side of the line
Renewable workflow with a time between renewalsOngoing policies where eligibility must be rechecked on a schedule, such as residency or membership rules that change over timeParticipants are prompted to verify again when their current verification reaches its renewal point, which can happen in the middle of a processSet the interval from your own policy, not from a default, and confirm how the custom handler or method supports renewal before promising it to stakeholders
Notification before expiryAny option where participants should not lose access without warningParticipants receive a prompt to renew, ideally before they try an action and get blockedTest the message wording and delivery in staging, and confirm your SMTP setup sends mail reliably
Staff workload during renewalLarge communities or busy votes where many participants renew at onceWaiting in a queue or repeating steps during peak periods if many renewals cluster togetherEstimate the number of renewals with your census owner, plan staff for document or letter-based methods, and avoid a bulk reset just before a vote opens

How to set up revocation and renewal in Decidim

This sequence takes an existing Decidim platform from its installed version through a tested revocation and renewal rule, so that participants whose verifications have lapsed or been withdrawn are blocked from restricted actions and know what to do next. Each step ends with a check you can record before the change reaches production.

  1. Confirm the installed Decidim version

    The platform administrator checks the running version before changing anything. Decidim supports only the last two minor versions with security updates until version 1.0, currently 0.32.x and 0.31.x, so a platform on 0.30.x or earlier should be upgraded before authorization rules are changed. Confirm the version in the admin environment and in your deployment configuration, and record it with the change ticket. The step is done when the version is written down and matches a supported branch.

  2. Back up the database before any change

    Before editing authorization settings or running any task that touches participant records, the operations team takes a full database backup, following the guidance in Decidim's update documentation. Revocation affects stored authorization records, so a backup is the only clean way back if a rule removes more participants than intended. Store the backup somewhere the staging and production teams can both reach, and test that it can be restored. The step is done when a restore has been tested on a separate copy.

  3. Inventory the authorization methods in use

    The product owner and the platform administrator list every authorization method active in the organization, such as SMS, identity documents, postal codes, census imports or custom handlers, and note which components and actions depend on each one. Revocation and renewal behave differently for each method, and a renewal that makes sense for a census import may not suit a document check. The output is a table of methods, their owners and the actions they protect. The step is done when the table has been reviewed by the people who run each method.

  4. Decide the revocation rule and renewal interval

    The governance lead writes down two decisions: which verifications are revoked (all of them, or those created before a chosen date) and how long a verification remains valid before the participant must verify again. Ask the legal or data protection contact to confirm that these rules match the organization's retention and consent commitments. Record the reason for each rule so future administrators understand it. The step is done when the rules are signed off and written into the change record.

  5. Configure the rule in a staging organization

    The platform team applies the agreed revocation rule and renewal settings in a staging organization restored from the backup, not in production. Use the revocation and renewal options that your installed version provides, and check the admin interface after each change to confirm the saved values match the decision record. Where a custom authorization handler defines its own renewal behavior, confirm with its developer how that handler reads the rule. The step is done when the staging settings match the written decision and no unexpected records have changed.

  6. Test that revoked participants are blocked

    The QA lead creates a test participant with a verification, revokes it using the configured rule, and attempts each restricted action on a component that requires verification, such as voting or signing. The test should also cover a participant whose verification is still valid, to show that the rule does not block everyone. Record the result for every restricted action. The step is done when a revoked test account is refused each action and a current test account is still allowed.

  7. Prepare the participant notice

    The communications lead drafts the message telling participants that they must verify again, explaining what they need to do, and stating the point at which their existing verification stops counting. Review the wording with the legal contact and test the notice on the staging site with a test address. Confirm which channel sends it, such as email through the configured SMTP service, and that the link leads to the right verification method. The step is done when the notice has been approved and a test message has been received and checked.

  8. Schedule the production change and review

    The platform administrator schedules the production change with the same written steps used in staging, starting with a fresh backup. After the change, the team checks the authorization records and the test accounts again, then confirms that the notice is visible to participants. Ask the vendor or implementation partner to confirm any behavior you are unsure about before the window opens. The step is done when the production checks match staging results and the change record is closed with the version and settings recorded.

How revocation and renewal affect participants in flight

The first decision is whether a revoked verification also removes what the participant already did. Revoking a verification does not, by itself, tell you whether earlier votes, signatures or proposals stay on the record. Confirm this in your own Decidim version before you run a revocation, because the answer depends on the component, the action and the authorization method. Test it on a staging copy with a dummy participant who has voted in a vote component and signed in a signature collection, then check what the admin panel and the public pages show afterward. Record the result so your communications team can answer participant questions accurately.

Revocation also interacts with component permissions and open processes. A participant whose verification is revoked may lose the ability to take new actions while still appearing in votes already cast, and a process that is still open can leave a gap between what the permission settings say and what participants see. Map each component that is live during the revocation window, list which actions require verification in each one, and decide whether an in-progress action such as a half-finished proposal or an unsubmitted vote form should be allowed to complete. Check the process timeline first, because revoking during a voting period carries more risk than revoking between processes.

Strict renewal protects the process but adds friction for people who are still eligible. A short renewal window or a broad revocation can push participants away from a live vote, and the support requests that follow consume staff time. A looser approach keeps participation smooth but weakens the claim that every counted action came from a current, verified person. Choose the level of strictness per component, using the stakes of each action, and write that decision down before the process opens. Ask your implementation partner or vendor to confirm how much notice participants receive before a renewal is required and whether the message can be customized.

Security and operational risks when verifications expire

Verifications that outlive their eligibility, or that are removed in bulk without warning, affect who can vote and sign. Each risk below connects to a control you can plan before the next process opens: logging, staging tests, communication timing and a clear route for security reports.

Stale verifications allow ineligible votes

A participant who left a membership or moved out of a district can keep a verified status if no revocation runs. In a vote restricted by census or residence, that status is the only gate, so an old approval becomes an ineligible ballot. Before each process, check which verifications have an expiry or renewal rule, confirm that the rule runs on the schedule you intend, and sample a few expired accounts in staging to confirm they lose access to the restricted actions.

Bulk revocation blocks legitimate participants

Revoking all verifications, or all verifications before a date, is quick but removes access from people who were eligible. If the revocation runs days before a vote, those participants may not have time to verify again. Choose the revocation scope deliberately, rehearse it on a copy of the data, and schedule it early enough that renewal requests can be completed before voting opens. Ask the platform team to confirm how the revocation affects existing votes and proposals.

Renewal reminders fail silently

Telling participants they must verify again depends on email delivery, which runs through SMTP configured in production. If the mail queue stalls or the sending address is rejected, participants find out only when they are blocked at the ballot. Confirm that background jobs and SMTP are working in the production setup, send a test reminder to a seeded account, and check the delivery logs after the first real batch.

Audit trails explain each revocation

When a participant asks why their verification was removed, or an auditor asks how the census was kept current, the answer must come from records. Decide in advance which events are logged, such as the revocation trigger, the date, the actor and the affected scope, and keep those logs with the database backups. Review whether logs are retained long enough for the process cycle and your records policy.

Patch cadence affects renewal logic

Renewal and revocation code runs inside the Decidim release you deploy. Versions outside the supported window receive no security updates, so an unpatched instance may keep running an expiry rule with a known flaw. Plan upgrades so the platform stays on a supported minor version, and track patch windows. Report suspected vulnerabilities in the expiry logic to security@decidim.org or through GitHub Security Advisories, as described in the project's SECURITY.md.

Supported minor versions
0.32.x and 0.31.x
Decidim security policy

Questions buyers ask about revoking and renewing Decidim verifications

What does it cost to set up revocation and renewal, and who pays for it?

The cost comes from scoping and build work, not from Decidim itself, which is free and licensed under the AGPL-3.0. You pay for the people who design the revocation rules, build or adjust the renewal workflow, test it on a staging copy and hand it over. Setup is one-time work. Hosting, email delivery for renewal notices, and any SMS or postal costs recur and depend on how often you ask people to verify again. Ask any quote to split one-time build, testing, documentation and recurring operating costs, and to name which verification methods are included.

How long does revocation and renewal work take to build?

Duration depends mainly on how many authorization methods you run and whether any of them use a custom handler. A platform with one built-in method and a single revocation rule is a much smaller job than one that combines SMS, a census import and a custom municipal census handler, each with its own renewal interval. Custom handlers need the most time because their renewal logic must match the source database. Ask for the timeline to be tied to a written list of methods, handlers and renewal rules, and confirm which items depend on your census owners or gateway providers.

What does our internal team need to provide before the work starts?

Your team needs to decide the business rules before any code changes. That means which verifications expire, how often each must be renewed, which actions are blocked until renewal, and whether revocation applies to all participants or only those verified before a date. You also need to name the owner of the census or membership data, provide staging access to a copy of production, and confirm who approves notification wording. Missing decisions here are the most common cause of delay, so settle them in writing at scoping.

Can our own team set up revocation and renewal without a partner?

Yes, if your team has Ruby on Rails and PostgreSQL experience and can run Decidim's update and test process. The work touches authorization records, component permissions and email templates, so a mistake can lock out voters or leave expired verifications active. Consider a partner if the team lacks Rails experience, if you need to test before a large vote, or if custom handlers must change. Ask a partner to separate what they build from what they hand over, so your team can operate the result without them.

How should we notify participants that they need to verify again?

Send notice before the verification stops working, not after participants hit a blocked action. Decidim's notifications and email settings should carry a clear message that names the action affected, the date the current verification ends, and the steps to renew. Email depends on your SMTP setup, so test delivery on staging first. Use a separate message for participants whose verification was revoked in bulk, because they may not have chosen to lose it. Confirm wording with your legal or communications team, and log when notices were sent for audit purposes.

What should we do after a bulk revocation?

After a bulk revocation, check which components and actions are now blocked, then confirm that participants who need to act can still reach the renewal path. Watch the support queue closely for the first days, because many people will ask why they lost access. Review whether any revocation hit participants who were verified legitimately under a different method, and fix those cases through the renewal workflow rather than by restoring old records by hand. Record the revocation date, the rule used, and the number of records affected so the change is traceable later.

Does a custom census handler need extra work for renewal?

Yes. A custom census handler checks a source system, such as a municipal census or membership database, so renewal depends on what that source can tell you. If the source records a last-updated date or membership status, the handler can reverify against it. If the source only confirms identity once, renewal must reuse the handler's workflow and may need a fresh data pull. Confirm with the data owner whether they can provide that information, how often it may be queried, and whether data protection rules limit storing the result. Plan this work separately from the built-in methods.

How a renewal request moves from expiry to a restricted action

The flow starts when a participant tries a restricted action, such as voting or signing, in a component that requires verification. Decidim checks the stored authorization date against the revocation rule or renewal window configured for that method. If the authorization is still current, the action proceeds. If it has expired or was revoked, the participant is sent to re-verify through the same workflow, and the outcome is recorded. Check that the rule your team configured matches the window you announced to participants.

Shows how an expired or revoked authorization leads to re-verification and a logged outcome.

Telling participants they need to verify again

Decide the notice schedule before the first revocation runs, because a participant who learns they must verify again on the day a process opens will often be locked out of the action they came to take. Work backward from the next participatory space that requires verification. Plan at least one notice ahead of that space's start date, and a second one close to the deadline for people who have not yet renewed. Confirm with your Decidim administrators which events trigger messages in your version and organization configuration, and whether the notice is sent by Decidim itself or must be written into a custom flow. Record the lead time you chose so that communications staff, not only developers, can explain it later.

Write the notice so that it answers three questions in plain language: what lapsed, what the participant must do, and what happens if they cannot. Name the verification method they used, such as a census check, SMS code or identity document, and link them to the page where they start renewal. Avoid vague phrasing like 'your account has changed'. Show where the message appears as well, because a banner on the authorization page, an email and a notice inside the participant's profile reach different people. Keep the wording consistent across the translated locales your organization publishes, and have a native reviewer check each one, since mistranslated deadlines cause real confusion.

Test every email through the SMTP configuration that production uses, not a local mail catcher, and confirm that messages arrive, render correctly and are not filtered as spam by the major providers your participants use. Also plan the support path for people who cannot re-verify, such as those who have changed phone numbers, moved address or no longer appear in a census. Give them a named contact channel and a clear escalation to staff who can assist, following the process your team has agreed. Balance early warnings against notice fatigue: too many reminders teach participants to ignore the platform, so limit repeat messages to those that change what the person can do. Confirm this balance during a staging rehearsal before each campaign.

How DeployOpen scopes and delivers revocation and renewal work

DeployOpen treats revoking and renewing Decidim authorizations as a planned part of each participation cycle, not an afterthought. We scope which verifications expire, how they are revoked, and how participants are told to verify again, then build and document the workflow inside your own infrastructure. Engagements are fixed-scope, with the written scope agreed before work starts.

How we scope

  • We list every authorization type in use and which components depend on each one.
  • We agree in writing whether revocation covers all verifications or only those issued before a set date.
  • We confirm the renewal interval, the reminder wording and who approves exceptions for each process.

How we build

  • We configure revocation and renewal on a staging copy of your Decidim instance before any live change.
  • We write the authorization handler changes needed for renewal and test them against sample census records.
  • We test that participants lose access to restricted actions after revocation and regain it only after reverification.

How we hand over

  • We document the revocation steps, the date logic and the rollback procedure for your administrators.
  • We provide a checklist for running revocation between processes, including a database backup taken beforehand.
  • We train your staff on reading the verification logs and on answering participant questions about renewal.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover re-testing of renewal workflows when Decidim releases a new minor version.
  • Ask for the support scope, response expectations and retest terms in the written quote before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.