I’d like to propose an enhancement to ODK Central’s user role system. Currently, the available roles for web users are very helpful, particularly system administrators and project-based roles. However, I’ve identified a need that could benefit many teams working collaboratively on form design and maintenance.
Proposal:
Introduce a fourth web user role that allows users to create and edit forms, but without the ability to delete them.
Reasons for this suggestion:
In larger teams or those with rotating personnel, it is important to prevent accidental deletions of key forms.
There is currently no middle ground between granting full access (including deletion) and overly restricting users.
This new role would be ideal for content editors or field technicians who contribute to form development but should not have deletion privileges.
Is there any plan to support more granular permission settings in the future? Or could this new role be considered for the ODK Central roadmap?
I appreciate any feedback or suggestions from the community. I’m confident that many other teams could also benefit from this functionality.
Hi Daniel! Thanks for the feedback - it's definitely timely as user management, access, and more granular permissions are some of the things we are currently rethinking. Could you please share the types of users and roles in your project, how they are organized and what kind of access they have / you would like them to have (aside from restricting deletion, if any)? Just looking for more context as to how your system is currently designed. Thank you!
I believe the existing roles - Project Managers, Project Viewers, and Data Collectors - should remain unchanged. Their simplicity plays a valuable role for newbies trying / using ODK Central for the first time. Rather than modifying these defaults or introducing a particular new role, a more scalable solution would be to enable Project Managers to define custom roles under some project, each custom role will have:
It's own alias name.
It's permission definition.
Project Managers should be able to allocate various permissions to the particular custom role:
can create or revoke app users / assign or remove form access for app users / control whether app users can edit submitted forms via ODK Collect ( 1 )
can modify a form's state (open / closing / closed) ( 1 )
can create or update project roles (same way as the project manager can)
can manually create new entity lists / add properties or data to them / modify their data / adjust their settings
can only update existing entity lists / add properties or data to them / modify their data / adjust their settings ( 2 )
can only view or download existing entity lists ( 2 )
can add new forms to the project
can update existing forms ( 1 )
can delete existing forms ( 1 )
can restore mistakenly deleted forms ( 1 )
can create, modify, or manage public access links for existing forms ( 1 )
can download XLSForm definitions and media files for existing forms ( 1 )
can view submissions ( 1 )( 3 )
can create submissions ( 1 )
can edit submissions using web forms / Enketo ( 1 )( 3 )
can view submissions in web forms / Enketo but not edit them ( 1 )( 3 )
can delete submissions ( 1 )( 3 )
can restore deleted submissions ( 1 )( 3 )
can review submissions (accepted / rejected / hasIssues) and add comments to them ( 1 )( 3 )
can only add comments to submissions ( 1 )( 3 )
can download submissions (.csv / .zip) / use OData connection ( 1 )( 3 )
What are ( 1 )( 2 ) and ( 3 )? / Granularity of permissions for custom roles:
( 1 ): Project Managers should be able to specify which particular forms (the project may have many forms, but we may wish to grant an access to only a few) a custom role applies to when assigning these permissions.
( 2 ): Similar to above but for entity lists. The Project Manager should control which specific entity lists within the project are exposed to each custom role.
( 3 ): Submission-level access should support conditional logic based on field values in the submission data (e.g., filter by "site" == "RT", that custom role should only be able to access submissions where "site" == "RT"), enabling data confidentiality within the shared form under the same project. The Project Manager should be able to define this as well while allocating the custom role.
Example / Custom role in action:
Let’s consider a use case where I want to grant a user access to view specific submissions - say, where the "site" field has a particular value - I also want them to be able to view these submissions using Enketo or web forms, without having permission to edit them - but they should be able to leave comments. Additionally, I want them to be able to download these submissions and use OData connections. Here's how a custom role could fulfill that:
Role Alias: "Reviewer Level - I" (assigned by Project Manager)
Assigned Permissions:
can view submissions [( 1 ) for forms ABCD and XYZQ only] [( 3 ) for form ABCD, only where the "site" variable equals "RT"; all submissions allowed for XYZQ]
can view submissions in web forms / Enketo but not edit them ( 1 )( 3 )
can only add comments to submissions ( 1 )( 3 )
can download submissions / use OData connection ( 1 )( 3 )
I think this is a useful suggestion that gives flexibility to teams of different sizes.
I like the idea of retaining the custom roles and providing the Project Managers the flexibility to customize more granular settings for permissions is a good balance for new users and those who have more requirements.
Another use case would be the limitation of the Site-wide administrator's permissions, specifically with access to Submissions. I think this has been suggested previously in Ideas. If the Administrator has no need to see data, then it would be prudent to remove those permissions once the Project goes live.
I totally agree fully with this suggestion. The suggestion (to limit access of project data by sitewide admin) by @jsolon to make the system truly role based is also welcomed. On top of these suggestions I want to add another superficial layer just for efficiency and good user experience. I suggest addition of "Project Group" to bundle groups of related projects. This group should not have any settings. It can be set by site-wide admin and related project moved into it. The key reason of having this high level structure is to serve two purposes:
Increase entity scope- currently it is not possible to use entities across two or more related project. The work around is to duplicate entity dataset to those multiple project, and this can only be done to static entity. It is not possible for dynamic entity. Once project group is added then entity can be categorized as 'project level' or 'project group level'.
Enhance user UI/UX. I have noticed as project manager of many projects spanning several tens, the home page become cluttered and it becomes difficult to access the project of interest. As a work around to this behaviour, it forces us to merge projects by having a common project name with the risk of having many forms within this new project name. Forms under this project become too cluttered to manage. If groups of related project can be grouped together then this would solve the inconvinience.
Note: I leave it open debate around whether a project can belong to only one or many 'project groups'. But the core idea is that entity scope is increased and UI/UX is enhenced without modifying the existing roles and access administration.