Repository navigation
Conversation
…wner limit is stated (Abilityai/trinity-enterprise#1165) - PortalPrincipal.is_interactive: a platform person in a JWT session (dependencies.is_interactive_principal; every MCP key and an unreadable scope are False). The enterprise projects module offers its company-wide people reads only to such a principal. - the Edit dialog looks a steward up through the project-scoped read (purpose=steward); the create dialog keeps the company read - MCP create/update_project_task describe the owner rule the server now enforces (creator or member, or role:<id>) - error copy for owner_not_on_project / invalid_owner / session_required Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
Paired enterprise PR (draft, needs this one on dev): abilityai/trinity-enterprise#1192 |
5 of 6 tasks
Contributor
Author
|
Superseded by the combined Projects epic PR #4395 (paired with abilityai/trinity-enterprise#1194), which contains this PR's commits unchanged. Closing so review focuses there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The public half of abilityai/trinity-enterprise#1165. Merge this one first: the enterprise PR reads the new field, and its CI checks out public
dev.PortalPrincipal.is_interactive(client_portal/portal_auth.py): true only for a platform person in a JWT session, decided by the one predicatedependencies.is_interactive_principal. Every MCP key (user-scoped, system, ops) is false. A principal with no readable scope also fails closed. The field is last and defaults to false, so every existing positional construction keeps its meaning.GET /projects/{id}/people?purpose=steward). The create dialog keeps the company read.create_project_task/update_project_tasknow describe the owner rule the server enforces: the creator or a member, orrole:<id>. Before, they said "an email or a name".owner_not_on_project,invalid_ownerandsession_required.Changes
src/backend/client_portal/portal_auth.py, plustests/unit/test_ent1165_portal_interactive.py(a session, user/system/ops keys, an unreadable scope, the default)src/frontend/src/components/portal/projects/ProjectCreateModal.vue,projectsUtils.js, plus a mount test inworkspaceProjectsPeople.mount.spec.jssrc/mcp-server/src/tools/projects.tsdocs/user-docs/sharing-and-access/workspace-projects.mdNo submodule bump. A follow-up
chore(enterprise)PR bumps the pointer after the enterprise PR merges.Test Plan
tests/unit/test_ent1165_portal_interactive.py: 6 passed. The neighbouring Workspace-principal tests also pass (38 in total).tsc --noEmitclean;src/tools/projects.test.ts24/24Refs abilityai/trinity-enterprise#1165
🤖 Generated with Claude Code