Prevent users from creating new projects
Request from Huly users: Permissions/roles settings to prevent users from creating new project (only project managers should be able to create new projects)
I think from the perspective of project managers who assign tasks to programmers. Now, if programmers can create their own projects, it may result in tracks that are not neat or created incorrectly. From here, we can set rules, but if we can set permissions more deeply, it will be much better.
Original message:
https://hulycommunity.slack.com/archives/C06BJD10YBC/p1737104263953779
Connected to Huly®: UBERF-9222
A workspace-scoped permission now forbids project creation: models/tracker/src/permissions.ts defines ForbidCreateProject, the role editor (plugins/setting-resources/src/components/spaceTypes/RoleEditor.svelte) exposes workspace-scope permissions for the Spaces type, and foundations/server/packages/middleware/src/spacePermissions.ts rejects matching transactions. Admins can assign a role with this permission to users who should not create projects. It was checked against the current Platform-Collective develop code. If maintainers agree this covers the report, please consider closing.
@AbigailDawson — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.