Skip to content

test: add isOrgStarter permission and API tests#146

Merged
field123 merged 1 commit intomasterfrom
test/org-starter-permissions
Feb 25, 2026
Merged

test: add isOrgStarter permission and API tests#146
field123 merged 1 commit intomasterfrom
test/org-starter-permissions

Conversation

@field123
Copy link
Collaborator

Summary

  • Adds 6 DbMgr unit tests verifying isOrgStarter permission checks: team owner and team editor can set it, while team viewer, commenter, and workspace-only editor are denied
  • Adds 2 API integration tests confirming isOrgStarter defaults to false in project responses and can be updated via PUT /projects/:id

Test plan

  • Run yarn test --testPathPattern="DbMgr.spec" --verbose in platform/wab
  • Run yarn test --testPathPattern="projects.spec" --verbose in platform/wab
  • Verify all new tests pass against a local Postgres instance

Add DbMgr unit tests verifying team-level editor permission is required
to set isOrgStarter (viewer, commenter, and workspace-only editor are
denied). Add API integration tests confirming isOrgStarter defaults to
false and can be updated via PUT /projects/:id.
@field123 field123 merged commit 53b02cf into master Feb 25, 2026
7 checks passed
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.

1 participant