Verifying Decidim participants with identity documents: when a document check is the right method
Before a process opens, an administrator needs to know that people voting or signing are who they claim to be. Decidim's authorization system can require verification for actions such as voting or signing, and document checks are one method among several that you can attach to a component. The choice of method comes down to what the platform can already confirm about a participant. Where your organization holds a reliable list of eligible people, such as members, employees or registered residents, a census list or a custom census handler usually answers the question with less manual work. Where no such list exists, or where eligibility depends on a personal attribute that no list records, an identity document review gives you a person-level check that a list cannot provide.
Document review fits best when the eligibility question is about the individual rather than membership in a dataset, and when you can accept a manual step in the process. Postal residence letters confirm an address, SMS codes confirm a phone number, and neither proves that the person holding the account is the named individual. A document check is also the stronger option for high-stakes votes where you expect challenges and need a written record of what was accepted. Its trade-off is staff time: every submission needs someone to look at it, and that load grows during a busy vote window. Confirm the exact document workflow, including which document types it accepts, how review is assigned and what participants see, against the Decidim version you run, using the authorization documentation in the Decidim GitHub repository.
Document verification options and when each fits
This table compares three ways to run document-based verification: online upload with administrator review, in-person checks at a service desk, and offline instructions for participants without a browser or scanner. Read each row against your own population, staffing and privacy obligations. The main takeaway is that the cheapest option for staff is rarely the lightest one for participants or for data exposure.
| Factor | Online upload with review | In-person service desk | Offline instructions |
|---|---|---|---|
| Participant effort | Needs a browser, a device that can capture the document and an account. Rejected uploads mean a second attempt. | Participant travels to a venue and brings the original document. Little digital effort, but time off and travel. | Participant follows written steps and sends or delivers evidence by other means. Slowest route, but no device needed. |
| Staff effort | Administrators review each upload in the back office. Volume peaks close to a vote, so queues need cover. | Staff check documents face to face and record the outcome. Staffing hours scale with the number of visitors. | Staff process each returned item manually and must record it in the platform. Expect extra data entry. |
| Privacy exposure | Document images sit in the platform's file storage until handled. Confirm retention, access roles and deletion with your data protection lead. | Documents are seen but not stored when staff only record the outcome. Confirm what the desk may write down. | Copies travel through post or email, which adds handling risk. Confirm secure channels and disposal before launch. |
| When it fits | Large participant groups with reliable internet access and a review team able to respond quickly. | Smaller groups, participants who lack digital access, or events where staff already run a check-in desk. | Small residual group of people who cannot use a browser or scanner, used alongside another route rather than alone. |
| What to confirm | Accepted document types and file formats in your installed workflow. Review turnaround and who may approve. | Opening hours, identity of trained staff and the record kept for each visit. | Which items are accepted, how returned copies are logged and how the platform records each manual decision. |
How to set up document verification in a Decidim organization
This sequence takes an organization from confirming which Decidim version it runs to a tested document verification flow that only restricts the components it should. Each step closes with a check that shows the configuration works before participants see it.
Confirm the Decidim version and support status
Start by checking which Decidim minor version the platform runs and whether that branch still receives security updates. Decidim supports only the last two minor versions until version 1.0, so the current branches are 0.32.x and 0.31.x, and older lines such as 0.30.x are not supported. Confirm the Ruby and Node versions required by that release and the PostgreSQL version your environment uses. The step is done when the team has written down the running version, its support status, and a plan to upgrade one minor version at a time if the platform is behind. Confirm the current support list against the project's security policy before you rely on it.
Enable the document authorization workflow
In the organization's administration panel, enable the document-based authorization method and confirm that it appears as an option for participants. Decide which document types you will accept and write the instructions participants see on the form, including what to upload and what is not accepted. Do this on a staging copy first, since authorization settings affect every process that uses them. The step is done when a test account can open the verification form and reach the upload screen without errors.
Configure document fields and ActiveStorage
Confirm that uploaded documents are stored through ActiveStorage and that the storage backend, file size limits and retention settings match your data protection rules. Check that the production background job queue (ActiveJob) is running, because processing and notifications depend on it. Verify that the SMTP settings send review and result emails. The check is a test upload of an accepted file type, then a confirmation that the file appears in the storage location you chose and that no copy is left in an unexpected place. Record where files are kept and who can reach them.
Set which components require verification
Decide which actions need document verification, such as voting, supporting or signing, and set the permission for each component that needs it. Keep public discussion and information components open unless your rules say otherwise. Apply the permission to a component you have created for testing, not to a live process. The check is that an unverified test account can still read the component but is blocked from the restricted action, with a message that explains how to verify.
Test acceptance and rejection with staff accounts
Create staff test accounts with different roles, then submit documents that should be accepted and documents that should be rejected. Go through the administrator review step for each one, approve one and reject one with a reason, and confirm that the participant receives the right notice. Test that a rejected participant can submit again and that the rejection reason is visible only to the people who need it. The step is done when every outcome in your written procedure has been run once and the results match what staff expect.
Run a permission test on a non-public component
Use a non-public or unpublished component to test the full path: an unverified account, a verified account and a staff account. Confirm that the restricted action is blocked for the first, allowed for the second, and that staff can see verification status without changing a participant's record by accident. Check the logs for each action so you can show later which decisions were made and by whom. The step is done when the three results match the permission matrix and the logs show each action.
Review the settings and open the process
Before any public process opens, repeat the critical checks on the production configuration: the version, the workflow setting, storage location, background jobs, email delivery and component permissions. Ask a second person to walk through the test cases so the review does not depend on the person who configured the system. Confirm the offline instructions and the staff contact for participants who cannot upload. The step is done when the checklist is signed off and the team knows who will review uploads during the open period.
What the administrator review step involves for staff
The review step is where most of the staff effort in document verification sits, so decide who can open uploaded documents before the vote opens. Confirm in your Decidim version which administrator roles can see the uploaded files, whether reviewers work inside the admin interface or need an export, and how long uploaded images are kept after a decision. Reviewers should work from a written checklist that covers whether the document type is one your rules accept, whether the name on the document matches the account, whether the image is legible, and whether the document is still valid if your rules require that. The checklist matters most when several people review in parallel, because it is what keeps two reviewers from deciding the same case differently.
Each review ends in an approval that grants the authorization or a rejection that leaves the participant unverified. A rejection should always carry a reason the participant can act on, such as a blurred image or a missing page, and your team should agree in advance on the wording of common reasons. Confirm whether the reason is shown to the participant, whether the decision records the reviewer and the time, and whether a changed decision overwrites the earlier one or leaves a trace. For contested or unusual documents, agree an escalation route to a second reviewer or a supervisor, and decide who answers clarification requests and through which channel, because those exchanges often happen outside the platform and take staff time that the queue does not show.
Staff time during a busy vote depends on four drivers: the number of participants who upload documents, the number of reviewers working at the same time, the rejection rate, and the number of clarification requests each rejected case generates. Each driver multiplies the others, so a small rise in rejections can add more work than a larger rise in uploads. Do not plan from published or vendor figures. Run a pilot with real uploads from a test group or a previous process, time each review, record the rejection reasons, and count clarification messages. Use those measurements to size reviewer shifts for peak hours and to decide whether the instructions for participants need to change before the live vote.
Security and privacy risks in storing identity documents
Identity documents are among the most sensitive data a participation platform holds, and the risks below connect because each one widens the time, places or people that can reach a scan. Treat each card as a control you can verify in your own environment before the first verification window opens.
Storage and retention of scans
Decide whether uploaded scans are kept at all, and for how long. Many verification flows only need a decision (verified or rejected) and a record of the method used, not the image itself. Ask the Decidim administrators and your data protection lead to write down the retention period for each document type, then check that the database and the file store both follow it. Our experience with similar work is that retention is the risk most often left undefined.
Access by staff roles
Review of identity documents should be limited to the smallest set of administrators who need to see them. Map which Decidim admin roles can open verification records, export them, or see the attached files, and confirm that service desk or event staff cannot view documents they do not need. Test this with a non-privileged test account before a vote opens, and keep the list of people with access short and named.
File storage configuration
Decidim uses ActiveStorage for uploaded files, so where those files land and who can fetch them is set by your deployment, not by the verification form. Confirm that the storage bucket or volume is private, that direct links to documents are not publicly reachable, and that backups of the file store follow the same access and retention rules as the database. Ask for a written description of the storage service and its access policy.
Decidim installation docsPersonal data in logs
Application logs, error trackers and reverse proxy logs can record names, document numbers or upload paths without anyone choosing that. Review the log configuration for the verification flow, filter sensitive parameters, and confirm that exception reports do not include form data. Ask who can read the logs and how long they are kept, since log retention often outlasts the platform's own data policy.
Deletion after decisions
Once a participant is verified or rejected, the document should be deleted on the schedule set in your retention decision. Check that deletion removes the file from the file store and any copies in backups or exports, and that a rejected applicant's document is not kept longer than an accepted one without a documented reason. Test deletion on a staging copy and record the result, because a deletion that only hides a record leaves the file in place.
Transport and reporting routes
Uploads and admin review screens should run only over HTTPS, and the reverse proxy should not accept plain HTTP for these paths. Confirm the certificate setup and that the admin panel is reachable only through the access controls you chose. For vulnerabilities in Decidim itself, the project asks reporters to write to security@decidim.org or use GitHub Security Advisories, and the SECURITY.md file sets a 2-month patch window for standard issues and 4 months for critical ones, so plan upgrades to keep within supported versions.
- Standard patch window
- 2 months
Questions about cost, effort and staffing for document verification
What drives the cost of document verification in Decidim?
The cost is driven by how much work sits around the platform, not by the software itself, which is free and licensed under the AGPL-3.0. The main components are configuring the verification method, building any custom authorization workflow, designing the offline process for people who cannot upload files, and the people who review submissions. Costs recur when review staff are needed for every process or vote, and they rise when the document policy is complex or the volume is high. Ask any provider for a quote that separates one-time setup from ongoing review work, and that states who performs each task and what is handed over at the end.
How long does a document verification pilot take?
A pilot depends on the number of document types, whether a custom workflow is needed, how many components require verification, and how quickly your legal and data protection staff approve the document policy. No duration has been established for this work, so treat any timeline as provisional until the written scope is agreed. Ask the provider to break the schedule into configuration, a test run with staff reviewers, a review of rejection messages, and a dry run of the offline process before the pilot opens to participants.
What does our organization need to provide before verification starts?
You need to provide a clear legal basis for collecting identity documents, a written document policy that lists accepted document types and retention periods, named staff roles for review and escalation, and the hosting environment where Decidim will run. Confirm with your data protection officer which documents you may ask for and how long copies may be kept. Your IT team should confirm storage for uploaded files, since Decidim uses ActiveStorage for file handling in production setups, and that SMTP is available for participant notices.
Can our own staff run document verification without an outside partner?
Yes, if you have people who can operate a Rails application, follow the upgrade and backup guidance, and make consistent review decisions. Decidim is installed manually as a Rails application or with Docker, so your platform team can run it. The harder part is staffing the review queue with trained reviewers who apply the document policy the same way each time. Many organizations keep platform operations in-house and bring in a partner for the configuration, workflow design or a security check before a large vote. Decide which of these tasks you can staff reliably before you choose a model.
How does verification workload change during a busy vote?
Submissions tend to cluster just before a vote opens and in the final hours before it closes, so review queues can grow faster than staff can clear them. Plan extra reviewers for those windows, set a service expectation for how quickly participants hear back, and agree on rules for handling duplicates and rejections under time pressure. Test the process with a realistic number of submissions in a staging environment first. Confirm with your team how many reviewers you can release at short notice, because that capacity, not the software, usually sets the limit.
What should we ask for in a quote for document verification?
Ask for a written scope that lists each document type, every component that requires verification, the custom authorization work, the offline process, staff training and the handover of runbooks. Request separate line items for one-time setup and recurring review or support, and ask who will perform the review if your staff cannot. Confirm how the provider handles personal data during testing, where test documents are stored and when they are deleted. Finally, ask what happens if the document policy changes after the pilot starts, and how that change is priced and scheduled.
What risks should we review before we staff document verification?
The main risks are excessive data collection, weak storage of identity documents, inconsistent review decisions and a shortage of reviewers during peak periods. Ask your security team to confirm access controls for the review queue, logging of reviewer actions and a deletion schedule for uploaded files. Run an assessment of the deployment before launch, since DeployOpen runs security testing on applications and infrastructure. Keep in mind that DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications, so independent auditors remain responsible for any formal attestation.
How a document check moves from participant to approval
The check starts in the participant's browser, where the uploaded document crosses into the Decidim application and is stored as an ActiveStorage file. It then waits in the administrator review queue, where staff approve it or reject it with a reason. An approval records the authorization, which component permissions then check before a vote or signature is allowed. Offline submissions, made in person or by post, enter the same review queue after staff enter them, so the same controls apply. Check that the staff access boundary is tight, since reviewers see personal documents.
Document checks cross three trust boundaries before a participant gains permission.
Handling rejections and offline instructions without losing participants
A rejection is only useful if the participant knows what to fix. When an administrator rejects a submitted identity document in Decidim, the reason text is the only guidance the participant gets, so write reasons that name the specific problem: the document is unreadable, the name does not match the account, the document type is not on the accepted list, or the image is cropped. Avoid generic wording such as "invalid document", because it sends people back to upload the same file and then to your support inbox. Agree a short set of standard reasons with the team reviewing documents, and confirm in your installed version where those reason texts are edited and whether the participant can resubmit immediately or must wait for a new request. Test each reason with a sample account before the process opens, and record which reasons were used so you can see which instructions cause the most repeat uploads.
Participants who cannot upload a document need a defined offline path, not an ad hoc exception. Some people have no scanner, no stable connection or no document in digital form, and they will drop out of a vote if the only option is an upload form. Decide in advance who may use an in-person or postal route, which documents they must bring, and who checks them. Then write offline instructions that point to the same accepted document types and the same verification outcome as the online route, so that a verified offline participant has the same rights as an online one. Confirm the exact messaging and any offline workflow in the version you run, because the wording and screens for these instructions can differ between releases and should be tested end to end.
Offline steps create records that must be kept as carefully as online ones. Every in-person check needs a log entry that shows the date, the staff member, the document type checked and the outcome, without storing a copy of the document unless your data protection rules allow it. Treat this log as part of the verification evidence, keep it under the same retention and access rules as the platform data, and make sure someone can reconcile it with the verifications recorded in Decidim. Plan staff time for this work during a busy vote, because offline checks are slower than reviewing uploads and tend to cluster at the deadline. Ask your privacy lead to review how these logs are stored before the first session.
Staffing document verification by organization type
A municipality running one participatory budget usually has a short, high-volume window in which many residents submit documents at once. The work is concentrated, so the reviewer pool is often drawn from the civic or citizen services team for a defined period, with a lead who owns the queue and decides edge cases. Approval should be a single, clearly documented step so reviewers apply the same rules to every submission.
- Reviewer pool: Confirm how many staff are assigned, who can access the admin review queue, and who is the escalation point during peak days.
- Approval rule: Write down which document types are accepted and what a reviewer checks against each.
- Rejection wording: Agree standard reasons and the text participants receive, so rejections are consistent.
- Coverage hours: Decide who clears the queue on weekends or evenings if the voting window spans them.
- Exit plan: Settle who closes the reviewer accounts and removes access once the budget closes.
Before the process opens, check that the reviewer roles and the queue are tested with the team that will actually use them.
A parliament running long assemblies has a different pattern: verification spreads across weeks or months, and the reviewers are often staff who have other duties. Continuity matters more than speed. The organization usually needs a named review lead, backup reviewers for absences, and a record of every decision that can be produced if a participant or a committee asks how a verification was handled.
- Named roles: Assign a review lead, deputies and an administrator who manages accounts, and record who holds each role.
- Decision log: Require reviewers to record the reason for each approval or rejection, kept with the audit trail the platform produces.
- Handover rules: Decide how open cases move when a reviewer leaves or changes assignment mid-assembly.
- Data access: Confirm which reviewers may see identity documents at all, and for how long copies are kept.
- Legal review: Ask the parliament's legal or data protection office to approve the document types and retention before the assembly opens.
Before the process opens, confirm the retention rules and the decision log format with the people who will answer questions about them later.
A civil society group with few staff often runs verification with volunteers or one or two people who also handle communications and events. The main risk is not the queue size but the lack of separation between the person who reviews and the person who administers the platform. Small teams can still keep a basic control by agreeing a simple two-person rule and by writing down what is stored.
- Minimal roles: Use one reviewer and one second reviewer for borderline cases, with the administrator kept separate where possible.
- Volunteer access: If volunteers review documents, decide what they can see and sign a short confidentiality agreement first.
- Storage limits: Decide how long document images are kept and who deletes them, since small teams often forget this step.
- Support load: Plan who answers participant questions about rejections so reviewers are not contacted directly.
- Capacity check: Ask whether the team can cover the review window without the pressure leading to rushed decisions.
Before the process opens, ask every reviewer to confirm they understand the approval rules and who to contact when a document is unclear.
Running the review queue during a busy vote
This sequence keeps document reviews moving during the live period, so every participant who needs to vote is checked, every decision is traceable, and the verification window closes cleanly before voting opens.
Confirm the queue and reviewer roster
Before the verification window opens, the project lead confirms which administrators hold review rights, which document types are accepted, and where pending submissions appear in the admin panel. Each reviewer checks that they can open a submission, view the attached document and record a decision. The step is done when a test submission has been opened and decided by every reviewer on the roster, and the lead has written down who covers which shifts.
Set fixed review hours and cover
The lead publishes the hours during which reviewers will work the queue and names a backup for each block, so a pending document is never left unattended when the primary reviewer is away. Staff time depends on submission volume, the number of document types and how many cases need a second look, so the lead should estimate these from the first days of the window rather than from assumptions. The step closes when the schedule is shared with every reviewer and the backup list is confirmed in writing.
Monitor the backlog at set intervals
At each scheduled check, the lead compares the number of pending submissions with the number decided since the last check and notes the oldest pending item. A growing backlog triggers a decision to add reviewers or extend hours, and the lead records that decision. The check is complete when the backlog figure, the oldest pending date and any action taken are logged in the project's operations record.
Escalate unclear cases to a second reviewer
When a document is unreadable, expired, mismatched with the name on the account, or otherwise uncertain, the reviewer does not decide alone. They mark the case for escalation with a short reason and the lead or a designated senior reviewer makes the final call. The step is done when every escalated case has a recorded outcome and the reason it was escalated, so the rule is applied consistently across reviewers.
Log every decision with its reason
Each approval or rejection is recorded with the reviewer's identity, the date, the document type used and a short reason, particularly for rejections. Rejection reasons should follow a fixed list agreed before the window opens so that participants receive consistent messages. The log is complete when a random sample of decisions can be traced back to a reviewer and a stated reason without consulting the reviewer.
Close the verification window before voting
Before the voting period starts, the lead closes new document submissions, confirms that no submission remains in pending status without a decision, and communicates the cutoff to participants. Anyone still waiting is told their status and what happens next, rather than being left in an open state during voting. The step is done when the pending count is zero or each remaining item has a documented outcome, and the closure is recorded with a timestamp.
Audit approved records after the vote
Once voting ends, a reviewer who did not make the original decisions samples approved records and checks each against its logged reason and document type. They also check for duplicate identities and any approval recorded outside the agreed window. The audit closes with a short written summary listing the sample size, any errors found, and the corrective actions taken, which is kept with the project's records.
When to run document verification in-house and when to bring in a partner
The first decision is whether your own staff can own the document verification workflow from configuration to the last day of a vote, or whether you need an implementation partner for part of it. Document verification in Decidim is not only a switch in the admin panel. It involves a custom authorization workflow when the identity documents must be checked against a source you control, a review step that depends on who is trusted to approve and reject, and a privacy assessment covering how document images are stored, who can see them and how long they are kept. Ask internal teams to list which of these they have done before on a Rails application they run, and treat any gap as a scope item rather than an assumption.
Compare written scopes from each option side by side. A partner's proposal should state the custom workflow work, the security review of the workflow and its admin screens, the privacy assessment inputs, the training sessions for reviewers and the support window during a live vote, along with who attends each one and what they produce. Confirm whether the proposal includes a retest after fixes, whether staff training covers rejection wording and offline instructions, and what happens if the vote date moves. Your internal plan should be scored against the same list. Where a line item is missing from either side, ask for it in writing before you choose, because the most common failure is a review queue that nobody staffed for the peak days of the process.
Confirm the points that cannot be settled from the outside: your own data protection officer's requirements, the retention periods your organization must follow, the Decidim version you will run (the supported branches are listed in the project's security policy), and the number of reviewers available on the busiest days. The Decidim SECURITY.md file is a useful reference when you ask a partner how they will keep the platform patched during the process. Whichever route you choose, the decision should rest on a scope that names the people accountable for each step, not on an estimate of cost or speed that nobody has verified.
How DeployOpen scopes and supports Decidim document verification
Document verification touches Decidim configuration, the people who review submissions, and the security of the flow itself. DeployOpen covers these in one written scope so the platform, the review process and the evidence your compliance team needs are agreed before any work starts.
Written scope before work starts
Most engagements are fixed-scope, so the document types, the verification steps, the review roles and the deliverables are written down and agreed before build begins. Ask for the scope to name which participation spaces and components require verification, how rejected submissions are handled, and what happens to uploaded documents afterward. A quote follows from that written scope, so unclear items in it usually become the main driver of cost and timing.
Decidim setup in your infrastructure
DeployOpen configures the document verification workflow on a Decidim installation that runs in cloud accounts, data centers or air-gapped networks you control. Identity documents are sensitive, so confirm where uploaded files are stored, which storage backend ActiveStorage uses, and who can reach the administrator review queue. Decidim can be installed as a Rails application or with Docker, and the chosen approach affects how this configuration is maintained.
Decidim installation docsSecurity testing of the verification flow
DeployOpen tests the document upload and review flow as an attacker would: whether files can be reached by other participants, whether review actions are logged, and whether a rejected applicant can resubmit repeatedly. Findings come with fixes and a retest. Ask for the test scope in writing, including whether testing covers the administrator interface, file handling and the links that expose verification status.
Evidence for compliance reviews
DeployOpen prepares the controls, configuration records and logs that a data protection or security assessment will ask about, such as retention settings for identity documents and who reviewed each decision. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments, so confirm early which evidence format your assessor expects.
Retainers for upgrades and support
Decidim releases move forward one minor version at a time, and the upgrade guide notes that some releases change database structures, so a verification customization can break between versions. Retainers cover ongoing support, upgrades and continuous testing after launch. Ask for the retainer to name who reviews changes to the verification code and how the security update window is handled.
Decidim update docs
