Skip to content

feat(sharings): Allow nested folder sharings#4875

Open
taratatach wants to merge 1 commit into
masterfrom
feat/allow-creating-nested-folder-sharings
Open

feat(sharings): Allow nested folder sharings#4875
taratatach wants to merge 1 commit into
masterfrom
feat/allow-creating-nested-folder-sharings

Conversation

@taratatach

Copy link
Copy Markdown
Contributor

Drive roots can now live inside an existing sharing: the blanket
parent/descendant rejections in ValidateDriveRoot are replaced by a
single effective-access gate. When the AccessResolver finds an
applicable additive ancestor scope, write access (POST) is required
on it, otherwise the root is rejected with the new ErrParentReadOnly,
mapped to 403 in the drives API. Roots without an applicable scope
are allowed. New drives are explicitly created with access_mode
additive.

Closes #4838

  Drive roots can now live inside an existing sharing: the blanket
  parent/descendant rejections in ValidateDriveRoot are replaced by a
  single effective-access gate. When the AccessResolver finds an
  applicable additive ancestor scope, write access (POST) is required
  on it, otherwise the root is rejected with the new ErrParentReadOnly,
  mapped to 403 in the drives API. Roots without an applicable scope
  are allowed. New drives are explicitly created with access_mode
  additive.
@taratatach
taratatach requested a review from shepilov July 23, 2026 14:06
@taratatach taratatach self-assigned this Jul 23, 2026
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.

Allow creating additive nested folder shares

1 participant