Skip to content

feat(platform): let admins allow members to create projects #5040

Open

Description

@yannickmonney

Summary

Members cannot create projects: the server requires the Editor role (services/platform/backend/domains/projects/service.ts:406-410, EDITOR_ROLES). A pilot organization wants members to organize their own work in projects (their own knowledge, agents and skills per topic, for example one project for internal work and one for external-facing work) without giving them everything else the Editor role carries.

Proposed

Follow the pattern the skill_sharing policy and the tale:skills.publish grant set (backend/domains/skills/publish.ts, lib/shared/competences.ts):

  • add a project_creation governance policy with the modes everyone, editors (today's behavior, kept as the default) and admins;
  • add a tale:projects.create capability that an admin can grant to named members, whatever the mode;
  • the app shows New project only when it is allowed and says why when it isn't. REST and MCP apply the same rule, and GET /api/v1/me reports it;
  • to decide: is the member who creates a project its administrator? What may a member-created project hold (agents, secrets, connectors) under the existing project RBAC?

Done when

  • With the policy set to everyone, or with the grant, a member can create a project in the app, over REST and over MCP. With editors, they are refused with a clear reason.
  • The audit log records the creation, with tests for each mode.
  • The docs (Governance › Policies and limits, and Members and roles) are updated.

Scope for parallel work

This touches backend/domains/projects/ (the create gate), governance policy schemas and the editor, and the New project entry points. It is independent of the other issues from this pilot.

Activity

  1. added
    priority: medium
    needs discussion
    feat
    service: platform
    on Oct 23, 2026
  2. yannickmonney commented on Nov 14, 2026

    @yannickmonney
    ContributorAuthor

    Decision

    Rule. Add a project_creation governance policy with the modes everyone, editors and admins. With no policy set, editors applies, which is today's behaviour. A policy that cannot be read counts as admins.

    Add a tale:projects.create right that an admin can grant to named members. It works in every mode.

    Every create door goes through one check: New project in the app, Duplicate in the app, REST, MCP/declarations, and the chat's create_project proposal. The old editor-only gates are removed. A duplicate is a creation: its audience must pass the same team-assignment rule as a new project, so a copy can never name a team the creator could not assign.

    A refusal is PROJECT_CREATE_FORBIDDEN (403), names the mode, and is written to the audit log as project.create_denied. A successful creation keeps project.created, which now also records whether the role, the policy or the grant allowed it. GET /api/v1/me reports projectCreate.

    Answers.

    • Is the member who creates a project its administrator? No. Changing a project's audience after creation, archiving it, deleting it, its secrets (PROJ-R13) and agent credential pins (PROJ-R24) stay with owners and admins. The creator gets the editor's right to change the projects they created, only while they still reach the project and may still create projects (through the policy or a live grant).
    • What may a member-created project hold? The same as any project an editor changes (PROJ-R9): agents, instructions, files, the skills the project can see, the organization's models, and connectors at their default credential. Secrets and credential pins stay admin-only, and spend stays under the existing limits.
    • Can Duplicate be used to get around the audience rule? No. The copy's audience is checked like a new project's.

    Why. Without an edit right, a member's project would be empty and read-only. Making the member its administrator would hand over powers the product keeps with admins. An editor right tied to the creation right reuses the editor rules and makes the admin's switch mean something. Duplicate must be gated and checked, because otherwise a member could copy a project into teams they are not in and then edit it. Following the skill-sharing pattern keeps one governance model.

    Implementation units (base: main)

    1. Policy, grant and gate (M): the policy schema, the capability, one resolver at every create door including Duplicate, the audience check on duplicates, /me, the audit entries, the error code, and PROJ-R30.
    2. Creator edit right (L): the creator gets edit, never administer, while they reach the project and may create projects. PROJ-R3 is amended and PROJ-R31 added.
    3. UI and docs (M): the policy editor, the grant on the competences screen, New project and Duplicate shown only when allowed with a visible reason otherwise, and the docs, locales, manual boxes, e2e and accessibility check.

    Cross-issue amendments (decisions taken together with #5136):

  3. added
    agent-ready
    and removed
    needs discussion
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyfeatpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions