Skip to content

feat: rename workspace / organization name (#482) - #483

Merged
unjica merged 3 commits into
developfrom
feature/rename-workspace
Jul 17, 2026
Merged

unjica merged 3 commits into
developfrom
feature/rename-workspace

Conversation

@unjica

@unjica unjica commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements #482.

  • API: PATCH /api/meta/organizations/:orgId (OWNER) updates organization name; audit organization.update
  • Dashboard: Settings → Organization Workspace name form
  • UX: Org switcher “Rename your workspace” links to #rename-workspace for all orgs (not only the legacy seed)

Independent of project rename (#480 / #481).

Test plan

  • As OWNER: rename workspace from Settings or org switcher link
  • Switcher shows new name after refresh
  • EDITOR/VIEWER cannot rename (403 / read-only)

Closes #482

Made with Cursor

Add PATCH /api/meta/organizations/:orgId, Settings workspace name form,
and wire the org switcher rename link for all organizations.

Co-authored-by: Cursor <[email protected]>
unjica and others added 2 commits July 17, 2026 02:12
Add integration tests for OWNER rename success, EDITOR/VIEWER 403,
empty/invalid names, and missing/deleted org 404. Check org existence
before role so missing ids return 404 per acceptance criteria.

Co-authored-by: Cursor <[email protected]>
@unjica

unjica commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator Author

Added integration coverage for `PATCH /api/meta/organizations/:orgId` in `organization-rename.integration.test.ts`:

  • OWNER rename success (returns updated name)
  • EDITOR / VIEWER → 403
  • missing / empty / non-string name → 400
  • invalid org id → 400
  • soft-deleted + missing org → 404

Also checks org existence before the role gate so missing/deleted ids return 404 as in #482.

@unjica
unjica merged commit 1f15579 into develop Jul 17, 2026
5 of 6 checks passed
@unjica
unjica deleted the feature/rename-workspace branch July 17, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard: rename workspace (organization name)

1 participant