Skip to content

feat(workspace): the Steward card says who can't use the steward agent, with Ask for access / Give access (abilityai/trinity-enterprise#1161) - #4391

Closed
dolho wants to merge 2 commits into
devfrom
feature/ent1161-project-seat-access
Closed

dolho wants to merge 2 commits into
devfrom
feature/ent1161-project-seat-access

Conversation

@dolho

@dolho dolho commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Workspace project's Steward card renders the page read's new steward_access, added by enterprise PR abilityai/trinity-enterprise#1188.
  • A member without the steward agent reads You can't use {agent} yet and gets Ask for access. After that the card shows a pending line. After a decline it says so and offers Ask again.
  • The steward agent's owner reads N members can't use {agent}. Each row is marked Asked where that member has asked, and has a Give access button.
  • An older backend without the field renders the card exactly as before, so this PR has no ordering dependency on the enterprise PR.

Project membership still carries no agent access: the seat stays required (decision 1, recorded on abilityai/trinity-enterprise#1137). Both buttons go through the existing access-request and share rows behind the project routes.

Changes

  • src/frontend/src/components/portal/projects/ProjectStewardCard.vue: the two blocks, with errors shown next to their button
  • src/frontend/src/stores/projects.js: requestStewardAccess, grantStewardAccess
  • src/frontend/tests/unit/workspaceProjectsEnt1161.mount.spec.js: 10 mount tests
  • docs/user-docs/sharing-and-access/workspace-projects.md: the Steward section

No submodule pointer bump. A follow-up chore(enterprise): bump the submodule pointer will follow after #1188 merges.

Test Plan

  • npx vitest run tests/unit/workspaceProjectsEnt1161.mount.spec.js: 10 passed
  • Every project/steward spec under tests/unit/: 18 files, 196 tests passed
  • Manual on construct, with the enterprise PR deployed: as a member without trinity-pm, ask; as its owner, give access; the member's card clears

Refs abilityai/trinity-enterprise#1161. This is a cross-repo issue, so it closes at release.

🤖 Generated with Claude Code

dolho and others added 2 commits November 9, 2026 13:18
…t, with Ask for access / Give access (Abilityai/trinity-enterprise#1161)

Renders the project read's steward_access (enterprise #1161): a member without
the steward agent reads 'You can't use {agent} yet' with Ask for access (or
its pending / declined line); the agent's owner reads which members can't use
it, marked Asked, each with Give access. An older backend without the field
renders the card as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dolho dolho added the ui PR touches the frontend UI — triggers Playwright e2e tests label Nov 9, 2026
@dolho

dolho commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Paired enterprise PR (backend): abilityai/trinity-enterprise#1188

@dolho

dolho commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

CI note: regression diff flags test_1424_webhook_hardening::test_per_token_limit_preserved_for_valid_token. This PR doesn't touch webhooks, and the same test fails the same way on the unrelated #4390, so it's pre-existing against the cached dev baseline. The new frontend spec passes.

@dolho

dolho commented Nov 9, 2026

Copy link
Copy Markdown
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.

@dolho dolho closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui PR touches the frontend UI — triggers Playwright e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant