Restricting Decidim component permissions before a process opens
A participation team often needs one rule for voting and another for talking. Residents or members should be the only people who can cast a vote or sign a proposal, while debate in a comment thread can stay open to anyone who registers. Decidim includes authorization systems that restrict actions such as voting or signing to verified participants, and the restriction is not applied to a whole space at once. It is set per component and per action, so a single process can hold a proposals component that accepts open comments, a voting component that requires verification, and a survey that stays public. Teams should decide this action by action before the process opens, because a permission that is correct for a budget vote is often too strict for a debate.
This pattern makes sense when the stakes of an action are higher than the stakes of participation in general. Binding votes, signatures on initiatives and budget allocations usually justify a verification step, while meetings, open questionnaires and early idea collection often do not. Teams should check whether their component has its own permission controls for each action in the Decidim version they run, and confirm that behavior in their own staging environment rather than assume it. Permissions decide who may act, but they do not decide who a person is. The methods that prove identity, such as identity documents, postal codes, SMS codes, census files or ephemeral verification, are separate decisions covered by their own topics. Permissions only work once one of those methods is in place and tied to the right authorization.
Before the process opens, the team should run a test matrix with at least one account per combination: unverified, verified through each method in use, and staff acting on behalf of a participant. For each component and action, confirm what the account sees, whether the button is hidden or shows a verification prompt, and whether the action is recorded under the right user. Ask your implementation partner or internal platform team to document each permission setting and who approved it, so the decision can be reviewed by the auditors or oversight bodies that may later ask why a particular group could vote. Retest after any upgrade or role change, because a setting that worked in one release may need checking again.
Which action needs which verification
This table maps each participant action in a Decidim component to the verification choice that usually fits it and the situation where that choice applies. Read each row as a starting point: permission labels and the options offered vary by component and version, so confirm them in the permissions screen of your installed release. The main takeaway is to restrict the actions that change outcomes, such as voting and signing, and keep low-risk actions open enough to sustain debate.
| Action and component | Verification choice | When it fits |
|---|---|---|
| Proposing in a proposals component | Require an authorization method on the create-proposal permission | Proposals feed a decision and each idea must trace to an authorized author |
| Voting in a proposals component | Require your strongest available method on the vote permission | Votes count toward a published result; confirm whether voting is a separate permission in your version |
| Voting in participatory budgeting | Pair a method that limits one vote per person, such as census or ephemeral verification where offered | Budget rounds open to residents, including those without accounts |
| Commenting on proposals or other resources | Leave open to registered users, or add a light method if spam becomes a problem | Debate matters more than identity; pair with moderation tools |
| Signing an initiative | Configured on the initiative's signature settings, not on a component; confirm the methods offered | Citizen initiatives where signature thresholds need verified signers |
| Answering a survey or registering for a meeting | Often open to any registered user; restrict only when responses must come from a defined group | Consultations where input matters more than a binding count |
| Mixing methods on one action | Confirm whether your version accepts several authorization handlers on one permission and how it handles a participant who holds only one | Mixed populations, such as residents and staff, voting in the same process |
Combining verification methods across actions
Many processes want anyone to read, comment and propose, while only verified people can vote or sign. This split keeps the entry barrier low for discussion and puts verification at the point where a result carries weight. In Decidim, the restriction is set per component and per action, so the same process can hold an open proposals component and a verified voting component.
- Reading and commenting: Leave these actions unrestricted in the discussion components so visitors can follow the debate before they register.
- Proposing: Decide whether proposal creation needs verification. Requiring it reduces spam but adds a step at the moment of highest interest.
- Voting and signing: Require the method that matches the result's weight, such as a census or document check.
- Messaging: Explain on the page which actions need verification, so participants do not discover the requirement only at the vote button.
Illustrative example: a city keeps comments open to everyone and requires verification only for the final vote on a proposal list. Check that every verified-only button explains the requirement before the participant clicks it.
A single authorization, such as a census check against a membership list, can gate every action in the process. This is the simplest model to explain and to support, because a participant verifies once and then has access across components. The trade-off is that a single gate also blocks participants who only want to read or comment, which can narrow the audience for the discussion phase.
- One step: Participants complete one verification and can act across the components that accept it.
- Low support load: Fewer questions about which step to complete, since every restricted action uses the same method.
- Broad restriction: Discussion components may lose visitors who will not register before reading.
- Single failure point: If the census data is wrong, every action is affected, so test the data before the process opens.
Confirm in the admin panel that each restricted component points to the same authorization and that the authorization's conditions match the population you intend to include. Ask your census provider how often the data is refreshed.
Different components can carry different risk. A participatory budget vote may need a stronger check than a survey on a neighborhood topic, so each component can use its own authorization. This gives precise control, but it multiplies the steps participants may need and the messages the team must write and maintain.
- Matched strength: Assign the method to the component's risk, for example a document review for binding votes and a lighter method for surveys.
- Multiple steps: A participant who acts in several components may complete several verifications, so count the total friction before you choose.
- More messages: Each restricted action needs clear text that names the method it requires.
- Staff workload: Methods with manual review, such as document checks, add queue time that scales with the number of participants.
Check each component's permission settings separately, and record which method applies to which action in your test plan. Ask the team who will answer questions about which verification a participant needs.
Requiring more than one authorization for the same participant increases drop-off and support requests, even when each method is simple. Each extra step is another place a participant can get stuck, such as a code that does not arrive or a document that is rejected. Plan the number of steps as carefully as the methods themselves, and decide in advance how a participant who needs two verifications will be guided.
- Drop-off points: Each additional verification adds a point where participants may abandon the process.
- Support channels: Decide who answers questions about each method and how quickly.
- Sequencing: Decide whether participants must complete verifications in a set order or can choose.
- Messaging: Tell participants in advance which steps they need, so they can prepare documents or phone access.
Before a process opens, run a participant path through each combination of actions and count the steps. Confirm with your support team the expected volume and the channels they will staff.
How to configure component permissions step by step
This sequence takes a component from open access to a configured permission set, so that each action requires the verification you intend and you have proof of the result before participants arrive. Each step ends with a check you can repeat if settings change.
Confirm verification methods are enabled
Before touching any component, an administrator checks in the organization's authorization settings that the verification methods you plan to use are present and switched on for the organization. Those methods might include identity documents, SMS, a census import or a custom handler, depending on what your organization has set up. Confirm the exact method names as they appear in your own admin panel, because the list depends on which modules and handlers your installation includes. You know this step is done when each planned method shows as enabled and a test participant can start that verification from the public side.
Create or choose the target component
Open the participatory space that will host the activity, such as a process or assembly, and either create the component you need or select an existing one, for example a proposals or participatory budgeting component. Confirm the component type matches the action you want to restrict, because permission options differ between component types. Give the component a clear name that staff and participants will recognize. You know this step is done when the component appears in the space's component list and is in an unpublished state, so no one can act on it yet.
Open the component permissions settings
In the component configuration, a space administrator opens the permissions section, which lists the actions the component supports, such as proposing, voting, signing or commenting. Read through the list and note which actions exist in this component type, since not every component offers every action. Keep the verification plan from your planning notes open beside the screen. You know this step is done when you can see a permission row for each action in scope and the current settings are visible without changes.
Set permissions for each action
For each action, the administrator selects which authorization or combination of authorizations a participant must hold, and sets any extra conditions the platform offers for that action. Start with the actions that carry the most risk, such as voting or signing, and leave read-only actions open unless your policy says otherwise. Record the choice for each action in a shared sheet so reviewers can compare it with the policy later. You know this step is done when every action in scope has an explicit setting and nothing is left at a default you have not reviewed.
Save and publish the component
Save the permission settings, then review the component's overall state before publishing it. Confirm that the component is attached to the correct space and that no stale settings from a copied component were carried over. If the component is a copy, compare its permissions with the original, since copies can keep settings you did not intend. Publish only after the checks in the next steps pass. You know this step is done when the saved settings reload exactly as entered and the component's status is ready for testing.
Test as an unverified account
Sign in with a test account that has no verifications and try each restricted action. The expected result is that every restricted action is blocked and the participant sees a message pointing to the verification required. Test also with the public visitor view, not logged in, to confirm that read-only content is visible and write actions are hidden or blocked. Record what each attempt showed. You know this step is done when every restricted action is refused for the unverified account and the message text is one you are willing to show participants.
Test as a verified account
Complete the required verification with a second test account, then repeat each action. The expected result is that the actions allowed by your settings now succeed, and any action that needs a combination of methods works only when all of them are held. Include a test account that holds only one of two required methods, which should still be blocked. Note any action that behaves differently from your plan so you can correct the setting before the process opens. You know this step is done when the matrix of test results matches the permission sheet exactly.
Document the final matrix and sign off
Turn the test results into a one-page permission matrix that lists each action, the required verification, the test account used and the observed outcome. Ask the process owner to review and approve it, and store it with the component's configuration record. Repeat the matrix test after any change to verification methods, permissions or the component's status. You know this step is done when the approved matrix exists, matches the live settings, and the owner has confirmed it in writing.
How a participant action passes the permission check
The diagram starts with a participant clicking an action such as voting or commenting on a component. Decidim checks the component's permissions for that action: if the participant meets the required authorization, the action runs; if not, the participant is redirected to the verification method the administrator selected. The admin configuration sits on the other side of a trust boundary, so participants can change their own requests but not the permission rules. Check that each action in your component maps to the intended method before the process opens.
Permission check on a component action, with the admin configuration outside the public path.
Testing permissions before a process opens
Build a test matrix before anyone opens the process to the public. Rows should be the actions you restrict (proposing, voting, signing, commenting) and columns should be the account states that matter: unverified, verified through each method you enable, verified through two methods where you combine them, a conflicting account that has tried to verify an identity already in use, and staff accounts with admin, moderator or assembly roles. For each cell, record the expected result (allowed, blocked, or blocked with a specific message) and the observed result. Permissions on one component often interact with permissions set on the parent space, so include a row for each component type that sits in the process, not only the one you configured first. Confirm in your own environment which of these combinations your version of Decidim supports, since behavior for combined methods depends on how the authorization workflows are configured.
Run the matrix on a staging copy of the organization, not on production. A staging copy with the same Decidim version, the same authorization workflows, the same census data source (or a representative sample of it) and the same component settings is the only way to see what a participant will see. Test accounts created on production leave records that are hard to remove cleanly, and a verification you grant by hand to a test user can mask a broken rule. Confirm that staging points at a test SMS gateway, a test postal flow or a sandboxed census connection, so that no real message reaches a real resident during testing. Re-run the matrix after any change to a component setting, a workflow or a permission, because a fix in one cell often breaks another.
Record what the sign-off needs to show. Keep the matrix with the Decidim version, the date and time of each run, the tester's name, the staging environment identifier, every failed cell with its cause and fix, and the retest result. Ask the administrator who owns the process to approve the matrix in writing before the process opens, and keep the signed record with your process documentation. Auditors and compliance teams reviewing a participation platform usually ask how access rules were checked, so this record answers that question directly. Agree in advance who may change permissions after launch, and log those changes, because a late change without a retest is the most common way a tested configuration stops matching what participants experience.
Security and operational risks of component permissions
Component permissions decide who can propose, vote, sign and comment, so a single mistake can open an action to the wrong people or lock out the people who run the process. The cards below cover the most common failure points, the control for each, and the checks to run before a process opens.
Voting left open to everyone
A voting component that inherits a permissive default, or a permission set that was copied from an open process, can let unverified accounts cast ballots. Check each voting and signing component on its own, not only the parent space. Confirm which authorization is required for every action and test with an account that has no verifications. Use a checklist per component so a new component cannot inherit an open setting unnoticed.
Decidim installation docsPermissions that block staff
A verification rule that is correct for participants can stop administrators, moderators and assisted participants from doing their jobs during the process. Staff may need to submit proposals on behalf of residents at a service desk, and a blocked action can look like a platform fault. Decide in advance which roles are exempt, document the exemption, and test each role against each action before the process goes live.
Mid-process changes to settings
Admins who can edit permissions while a process is running can change who may vote after participation has started, which affects fairness and the results. Restrict permission editing to a named group and require a second person to approve changes during an open phase. Record the reason for each change in the process notes so the decision can be explained later.
Unlogged permission changes
Without a record of who changed a permission and when, a disputed vote or a complaint about access cannot be investigated. Confirm with your team which admin actions are written to the audit trail in your Decidim version, and which are not. Export or forward those logs to a store your security team controls, and test that a sample change appears in the record before the process opens.
Conflicting rules across methods
When a component requires several authorizations, a participant may pass one and fail another with a message that does not say why. This creates support load and pressure to loosen rules during the process. Define the combination logic on paper, state it in the participant-facing text, and test a participant who holds only some of the required verifications.
Settings drift between environments
Permissions set in a staging copy may not match production after a migration or upgrade, so the process opens with rules nobody tested. Compare the component permission settings in production with the signed-off list before launch, and repeat the comparison after every deployment that touches the process. Keep the sign-off list under version control with the rest of your configuration.
Questions buyers ask about component permissions
What drives the cost of configuring component permissions in Decidim?
The cost follows the amount of decision-making in the platform: how many components and spaces need restricted actions, how many distinct actions each one needs (proposing, voting, signing, commenting), how many verification methods must be combined, and how much testing is required before a process opens. A process with one restricted voting component is a small job. A platform with several participatory spaces, each with different rules for different actions, is a larger one. Ask for a written quote that lists each component, each action, the verification method for each, and the test cases that will be run. Quotes for DeployOpen work follow from the written scope rather than from a published price list.
How long does it take to configure and test component permissions?
Duration depends on the same drivers as cost, plus how quickly decisions are made and how much of the census or method setup is already in place. Configuration itself is usually the shorter part. Most of the time goes to agreeing which action needs which check, confirming how each verification method behaves for real participants, and running the test passes that prove a participant without the right status is blocked. No duration figure is given here because none has been researched for this work. Ask for a timeline in the written scope that ties each phase to a named deliverable and a date before the process opens.
What does our organization need to provide before the work starts?
Before work starts, the organization should provide:
- A written list of spaces, components and actions that must be restricted, with the rule for each (for example, voting limited to verified residents).
- The verification methods to be used, and any census data they depend on, such as a member list or a file of addresses, with the owner who approves its use.
- Test accounts that cover each verification outcome, including accounts that should pass and accounts that should be blocked.
- A staging copy of the Decidim instance that matches the production configuration, so permissions can be tested without affecting live participants.
Deciding these items early usually shortens the work more than any other step.
Can our own staff configure Decidim component permissions without a partner?
Yes, if your team has administrator access to Decidim and someone who understands how each verification method behaves. Setting permissions on a component is an administration task, so an internal team with Rails and Decidim experience can do it. The harder parts are custom census handlers, combining methods in ways that match your rules, and writing repeatable tests that show a blocked participant stays blocked after an update. Your team should assess whether it has time to do this before a deadline, and whether it can rerun the same tests after each Decidim upgrade. A partner is useful when those tests and the evidence trail matter as much as the configuration.
Which parts of the work recur after the process opens?
Most of the configuration work is one-time, but some parts recur. Permissions must be retested after each Decidim upgrade, since upgrade steps can change database structures and application code. Census data changes over time, so the source list and any renewal rules need periodic review. New components or spaces added for later processes need their own permission setup and tests. Ask whether the quote includes a retest after upgrades, and whether ongoing support or a retainer is required to keep permissions correct across releases. DeployOpen offers ongoing support and continuous testing as retainers.
How do we test component permissions before a process opens?
Test each restricted action with at least one account that should pass and one that should fail, for every verification method you combine. Include edge cases such as a participant who verified through one method but not the other, a participant whose verification has expired, and a user who is not logged in. Run these checks on the staging copy and record the results, because the record is the evidence you will need if a participant or auditor questions a result. Ask the partner for the test scope in writing, including which components, roles and methods are covered and how the results are reported.
What security risks should we check in Decidim permissions?
The main risks are actions left open by mistake on one component, a verification method that accepts participants who should be excluded, and roles or spaces that bypass the rules set elsewhere. Check each component's permission settings against your written rule list rather than relying on defaults. Also confirm that the platform version you run still receives security updates, since Decidim supports only the last two minor versions with security updates until version 1.0. Security reports go to security@decidim.org or GitHub Security Advisories, and the project's SECURITY.md describes the patch grace periods that apply to implementers.
What should a written quote for component permissions include?
A useful quote lists the scope in concrete terms: the spaces and components covered, the actions restricted in each, the verification method for each action, and the census or method integrations involved. It should state what is delivered, such as configured permissions, a test plan, a test record and a handover note. It should name which items are one-time and which are recurring, such as retesting after upgrades. It should also state what the organization must provide, the assumptions behind the timeline, and what changes would reopen the price. Compare quotes on this scope, not on headline figures, because differences usually come from unstated assumptions.
Does the work cover conflicts and assisted participation too?
Component permissions cover which actions require which verification. Handling verification conflicts, such as one identity being verified twice, and assisted participation, such as staff acting for people without accounts, are separate topics with their own setup and controls. If your process depends on them, ask whether they are in the written scope or priced separately. Keeping them separate in the quote avoids surprises when the permission rules interact with those features during the process.
Keeping permissions correct through upgrades
Treat component permission settings as something to re-test after every Decidim minor upgrade, not as configuration that survives unchanged. Decidim's update guide asks implementers to move one minor version at a time, for example 0.29 to 0.30 before 0.31, and to follow each release's upgrade instructions because some changes alter database structures. A process that opened correctly on one minor version can behave differently on the next, so the question for each process is whether proposing, voting, signing and commenting still require the verification you configured in each component.
Before any upgrade step, take a database backup and confirm you can restore it, since the update documentation calls for a backup first. Then record the current state of each affected component: which authorization handler or permission rule applies to proposing, voting, signing and commenting, the minimum verification level, and any action authorizer conditions you added. Keep this inventory with the process record so that the person running the upgrade can compare the result against a known baseline rather than against memory.
Keep a written retest list for every process that is open or scheduled to open, and run it on a staging copy before production. Each entry should name the component, the action, the expected result for an unverified user, a verified user and a staff user, and the expected result for a user whose verification has been revoked. Confirm that the verification dialog appears where you expect, that the action is blocked or allowed as recorded, and that assisted participation and admin actions still behave as intended. Where the outcome is unclear from the admin panel, check the component settings directly and confirm the expected behavior with the Decidim version you are running, since the release notes for each minor version are the place to find changes that touch authorization.
How DeployOpen scopes and tests Decidim permissions
DeployOpen plans, configures and tests which Decidim actions each verification method gates, component by component, before a process opens. The work is delivered inside your own infrastructure with a written scope, a test record and a handover your team can run after launch.
How we scope
- We inventory every process and component that accepts proposals, votes, signatures or comments, and record the intended audience for each.
- We agree in writing which actions need which verification method, and which stay open to anonymous or unverified visitors.
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts. Ongoing support is available as a retainer.
How we build
- We configure component permissions and authorization combinations in a staging instance that mirrors your production settings.
- We check that combined methods, such as an identity document plus an SMS code, behave as the written permission matrix specifies.
- We align admin roles and SSO settings so that only approved staff can change permissions once a process is live.
How we hand over
- You receive a permission matrix listing each component, action, required verification and the reason it was chosen.
- You receive a test record covering allowed and blocked paths for each role, with the results of retesting after any fix.
- We walk your administrators through change control, so later permission edits follow the same documented review.
How we support
- Before each new participation process, we can rerun the permission tests against the matrix and report any drift.
- Upgrades to a new Decidim minor version can be planned so that permission behavior is retested before the update reaches production.
- Retainers can cover ongoing testing, fixes and updates, with the scope of each agreed in writing in advance.

