You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(auth-proxy): short-circuit /auth/config and /auth/bootstrap-status
The AuthProxyPlugin forwards every /api/v1/auth/* request straight to
the per-project better-auth handler, but better-auth has no /config or
/bootstrap-status endpoints. That hid the platform-SSO 'Continue with
ObjectStack' button on per-project subdomains (the Account SPA's
SocialSignInButtons probes /auth/config and falls back to no providers
on 404).
Intercept those two paths inside the proxy and answer them from the
project AuthManager directly:
- /config → authManager.getPublicConfig()
- /bootstrap-status → dataEngine.count('sys_user') > 0
Revert the equivalent hack in http-dispatcher.handleAuth that touched
the wrong code path (the host kernel, not the project kernel).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Followup to M10.30a. Walked every Setup menu in a real tenant; produced verdict matrix; shipped the safe fixes plus structural cleanup.
12
+
13
+
-**`packages/platform-objects/src/apps/setup.app.ts`** — sidebar trimmed from 7 groups / 41 menus → 6 groups / 26 menus with no loss of capability:
14
+
- Removed 5 M:N join-table menus (Department Members, Team Members, Org Members, User Permission Sets, Role Permission Sets) — these are tabs on parent records, not entry points.
15
+
- Removed 3 marketplace-only menus (Apps, Packages, Installations) which only render when `@objectstack/service-tenant` is loaded; in single-project runtimes they 404'd.
16
+
- Removed 3 OAuth satellite menus (Access Tokens, Refresh Tokens, Consents); they live under their parent OAuth Application detail.
17
+
- Removed Activity + Comments from Diagnostics; both are CRM operational data, not platform admin surfaces.
18
+
- Demoted "All Metadata" from a top-level Platform group to Advanced/debug. Platform group is now empty and removed.
19
+
- Renamed "Linked Accounts" → "Identity Links" to disambiguate from sys_user / org members.
20
+
-**listViews extension** — mirroring the M10.30a pattern, the following sys_* schemas now ship curated, segmented views:
21
+
-`sys_user`: All Users / Unverified / 2FA Enabled
22
+
-`sys_role`: Active / Default / Custom / All
23
+
-`sys_permission_set`: Active / Inactive / All
24
+
-`sys_invitation`: Pending / Accepted / Expired-Canceled / All
25
+
-`sys_session`: My Sessions / All
26
+
-`sys_sharing_rule`: Active / Inactive / By Object / All
27
+
-`sys_department`: Active / Inactive / By Kind / All
28
+
-`sys_team`: By Organization / All
29
+
-`sys_organization`: All (curated columns)
30
+
-**Classification fixes** (correctness):
31
+
-`sys_metadata` — `managedBy: 'config'` → `'system'`. The metadata table backs every typed config object; writing raw rows here bypasses Zod validation. The list page now correctly hides the New button (Export-only).
32
+
-`sys_user_preference` — `managedBy: 'platform'` → `'system'`. Per-user state authored from the user's own settings page; the admin list is a support/diagnostic surface only. New + Import buttons are now correctly hidden.
33
+
10
34
### Added — M10.30 Built-in list views for system objects 🎯
11
35
-**`packages/spec/src/data/object.zod.ts`** — added optional `listViews?: Record<string, ListViewSchema>` to `ObjectSchemaBase`. Already consumed by the console's `ObjectView`; previously dead because no schema declared it (Zod was stripping unknown keys). Authors can now bundle curated, segmented list views directly with the object definition.
0 commit comments