Skip to content

docs: explicitly state that _sharing is not inherited and defaults to private - #13

Open
mitselek wants to merge 1 commit into
mainfrom
docs/sharing-not-inherited
Open

docs: explicitly state that _sharing is not inherited and defaults to private#13
mitselek wants to merge 1 commit into
mainfrom
docs/sharing-not-inherited

Conversation

@mitselek

@mitselek mitselek commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

One-line clarification in the Sharing section of src/overview/entities/index.md.

The existing docs describe _sharing defaults ("private is the default") and _inheritrights propagation ("only _viewer, _expander, _editor, and _owner are inherited") in separate sections, but neither explicitly states the combined behaviour: _sharing is not propagated via _inheritrights, and an entity with no explicit _sharing defaults to private regardless of its parent's setting.

We've now seen two independent integrator teams assume _sharing inherits from the parent (like the four rights do), and design bulk operations around that wrong model. A single explicit sentence prevents this.

Closes #12

… private

The existing docs describe _sharing defaults and _inheritrights propagation
in separate sections, but neither explicitly states the combined behaviour:
_sharing is not propagated via _inheritrights, and an entity with no explicit
_sharing defaults to private regardless of its parent. This has caused two
independent integrator teams to assume _sharing inherits like the four rights
properties do.

One-line info block in the Sharing section, between the existing danger block
and the Rights Inheritance heading.

Closes #12

Co-authored-by: Mihkel Putrinš <mihkel.putrinsh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: explicitly state that _sharing is not inherited and defaults to private

1 participant