Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/app-shell/src/views/metadata-admin/i18n.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -866,7 +866,7 @@ const ENGINE_STRINGS_EN: Record<string, string> = {
'perm.action.edit': 'Edit',
'perm.action.delete': 'Delete',
'perm.action.transfer': 'Transfer ownership',
'perm.action.restore': 'Restore from trash',
'perm.action.restore': 'Restore deleted records (reserved — deletes are hard today)',
'perm.action.purge': 'Hard delete (purge)',
'perm.action.viewAll': 'View All Records (bypass sharing)',
'perm.action.modifyAll': 'Modify All Records (bypass sharing)',
Expand DownExpand Up@@ -2401,7 +2401,7 @@ const ENGINE_STRINGS_ZH: Record<string, string> = {
'perm.action.edit': '编辑',
'perm.action.delete': '删除',
'perm.action.transfer': '转移所有者',
'perm.action.restore': '从回收站恢复',
'perm.action.restore': '恢复已删除记录(预留 — 当前为硬删除)',
'perm.action.purge': '彻底删除',
'perm.action.viewAll': '查看所有记录(绕过共享规则)',
'perm.action.modifyAll': '修改所有记录(绕过共享规则)',
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -105,7 +105,9 @@ describe('ObjectSettingsPanel — capabilities (enable.*, framework#2707/#2727)'
expect((screen.getByTestId('cap-feeds') as HTMLInputElement).checked).toBe(true);
expect((screen.getByTestId('cap-activities') as HTMLInputElement).checked).toBe(true);
expect((screen.getByTestId('cap-clone') as HTMLInputElement).checked).toBe(true);
// Dead flags must NOT be offered (Studio only exposes enforced switches).
// trash/mru no longer exist in the spec (removed, framework#2377 — a
// rendered toggle would author a key the strict schema rejects);
// searchable is live but not yet surfaced here.
expect(screen.queryByTestId('cap-searchable')).toBeNull();
expect(screen.queryByTestId('cap-trash')).toBeNull();
expect(screen.queryByTestId('cap-mru')).toBeNull();
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,8 +29,10 @@
* switches. Only LIVE flags are exposed (every toggle is enforced at
* runtime — writer gates, 403s, or UI surfaces): trackHistory & files
* are opt-IN (spec default false), feeds/activities/clone are opt-OUT
* (spec default true, explicit false disables). Dead flags
* (searchable/trash/mru) are deliberately NOT rendered.
* (spec default true, explicit false disables). `trash`/`mru` were
* REMOVED from the spec (framework#2377 — ObjectCapabilities is now
* .strict(), authoring them is a parse error); `searchable` is LIVE
* (global-search opt-out) but not yet surfaced here.
*/

import React from 'react';
Expand Down
Loading
Loading