Organization Default Collaborators for New Projects
André du Plessis
Allow organizations to define default project collaborators (teams and/or users with predefined roles). When a new project is created under the organization, these collaborators are automatically added.
Benefits:
-Reduces repetitive administration.
-Ensures consistent permissions across projects.
-Prevents projects being created without required team access.
-Useful for both hosted and self-hosted deployments.
-Supports organizations with field teams, GIS teams, QA teams, and project managers.
Basically, when a new project is created: New Project -> Default collaborators inserted automatically.
André du Plessis
I implemented and tested a proof-of-concept on a self-hosted QFieldCloud deployment.
I added a configurable setting:
QFIELDCLOUD_DEFAULT_PROJECT_TEAM
When a new project is created, the configured Team is automatically added as a Project Collaborator with the Editor role.
In my deployment this automatically adds @<organisation>/<team> to all newly created projects.
The implementation has been tested successfully in production and significantly reduces repetitive administration.
Implementation branch:
https://github.com/AndreSayari/QFieldCloud/tree/feature/default-project-collaborators-prod
Longer term, this could evolve into a more generic "Organization Default Collaborators" feature supporting multiple Teams/Users and configurable roles.