Skip to content

Commit f4b7849

Browse files
committed
docs(console): shared views are an administrator's, and published at once (#36371)
Claude-Session: https://claude.ai/code/session_01QsR2jTPMb2q2wRssyREqhQ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 36063d5 commit f4b7849

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
Clause-②: yes (widening)
7+
Metadata-protocol: none
8+
9+
Only an administrator shares a list view, and a shared view is shared at once. The view dropdown offers Shared in Add view, 「Make shared」 on the reader's own views and 「Unshare」 on a shared view saved in the app only to an administrator whose session holds `manage_metadata`, the capability the shared view's write door asks; an organization administrator without it is no longer offered a Shared choice the server answers `403`. A view created shared, or made shared, is saved and published in one act, so everyone sees it on their next read instead of waiting behind a draft. 「Make shared」 publishes the reader's view under a free key and removes it from My views; 「Unshare」 moves a shared view into the administrator's My views and deletes the shared one, and takes the copy back when the server keeps the view. A view the object authors, a read-only package ships or a package view's customization is never offered 「Unshare」. A reader who opens a view the server says no longer exists is told so once, and the list shows its default view. New `@object-ui/i18n` keys under `view.switcher` carry the new labels and notices in every locale.

‎content/docs/ui/views.mdx‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,16 @@ The split pane beside an open record keeps the same switcher.
469469
`sys_personal_view` object, not view metadata, so a package never carries them. A user the
470470
server grants that object nothing (an external member, today) is offered neither the section
471471
nor the save.
472+
- **Shared views** are seen by everyone who can see the list, and only an administrator makes
473+
one: a user whose session holds `manage_metadata`, the capability the view's write door
474+
(`PUT /api/v1/meta/view/:name`) asks, so the server refuses everyone else whatever the
475+
Console shows. For that administrator **Add view** offers **Shared** beside **My view**
476+
(**My view** stays the default), each of their own views offers **Make shared**, and a shared
477+
view saved in the app offers **Unshare**, which moves it back into their **My views**. A
478+
view your app authors, a read-only package ships, or a package view's customization has no
479+
**Unshare**. A view created shared, or made shared, is published at once: there is no draft
480+
to publish first. A user who has a view open when it is unshared or deleted is told so, and
481+
the list shows its default view.
472482

473483
## Form View
474484

0 commit comments

Comments
 (0)