Skip to content

[finding] workspace owner lacks manage_metadata in the EE multi-org deploy, but 构建应用 is a primary home CTA — dead-ends at submit #8270

Description

@baozhoutao

Recording an observation for the platform to rule on.

In the objectos-ee-deploy stack (multi-org, Postgres), the console home page offers 构建应用 / Build an app as one of its two primary calls to action. A workspace owner who follows it, fills in the new-package dialog and submits gets:

Managing packages requires the manage_metadata capability.

(also untranslated in a zh console — same family as #8094).

The owner's effective grants, from GET /api/v1/auth/me/permissions:

{
"positions": ["org_owner", "everyone"],
"permissionSets": ["organization_admin", "member_default"],
"systemPermissions": ["manage_org_users", "setup.access", "setup.write"]
}

No manage_metadata. So on this deployment the person who created the workspace cannot create a package, an object, or an app — the entire "build" half of the product — while the button that starts that flow is the most prominent thing on their home page.

The decision

Plausibly deliberate: in a hosted multi-tenant deployment you may well not want tenants authoring metadata. If so, the fix is presentational — hide or disable 构建应用 (and 从模板开始, untested) when the capability is absent, and say why, rather than letting the user fill in a dialog and hit a raw capability error at submit time.

If it is not deliberate, organization_admin is missing a grant.

Either way the current combination — prominent CTA, full dialog, English capability error at the end — is the worst of both.

Environment

objectos-ee-deploy (Caddy → app → postgres:16) on http://localhost:8080, zh locale, org owner zhangsan@acme-test.com, observed 2026-08-12. Image commit not verified.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions