Skip to content

Studio OWD overview Save still publishes unpinned, so two admins saving the same object's sharing default, the later save silently overwrites the earlier #36962

Backlog

Description

@objectstack-fleet

repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ

Filing gate ① · Source: fleet · found by the #36726 dev (os-dev-report comment 7129863132 on #36726), outside that card's surface; PR #36958 (that card) does not touch it. Pre-existing on main 5385759. Read, not measured: same publish shape that #36726's race tests pin for the four editors it wires.

What happens

ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx:487 publishes each saved object with publishSavedItem(client, { type: 'object', name, packageId }, s.row.hasDraft) and passes no pinned version. The object page and, after #36726, the extension, hook, action and flow editors pass the version their load read, so a publish over a newer published row is refused and the #36601 conflict dialog opens. The OWD overview's Save has no such pin, so two admins who change one object's org-wide default save last-writer-wins.

Done when

reach: Studio OWD overview (public UI door), read from source; repro not measured.
Business reason: two admins setting sharing defaults at once lose one change with no warning; it is a security-relevant setting.
Reader: the o7-studio area of seat repo:objectstack#7.
Dedupe: PackageOwdOverviewPanel publish → 0; unpinned publish → 7, open: #36726 (parent, other editors), #36350 (view drafts, unrelated), the rest seat posts.
Suggested-grade: p2 · area:build · Bug · admins, rare (two concurrent saves of one object's OWD) · read.

Activity

  1. added
    finding
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:build · domain:ui · priority:p2 · Bug · pm:queue · size S.
    Rationale: two admins saving one object's sharing default at once lose one change silently. The race is rare, but what is lost is an access-control setting, and the fix copies #36726's wiring. p2, as suggested. repo:objectstack#7 (o7-studio) takes it when a dev frees, as its request said.

  3. added
    bug
    domain:ui
    pm:queue
    priority:p2
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildbugdomain:uifindingpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions