Skip to content

feat(drive): drive policies#527

Merged
DioCrafts merged 5 commits into
AtalayaLabs:mainfrom
EdouardVanbelle:feat/drive
Jun 26, 2026
Merged

feat(drive): drive policies#527
DioCrafts merged 5 commits into
AtalayaLabs:mainfrom
EdouardVanbelle:feat/drive

Conversation

@EdouardVanbelle

@EdouardVanbelle EdouardVanbelle commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

server side + client side

  • personal drives have the user's quota in commun
  • add policies to drives:
    - add policy forbid_public_links
    - add policy forbid_external_sharing
    - add policy forbid_sharing
    - add policy forbid_cross_drive_move
    - add policy forbid_owner_role_change

test covered via Hurl + manual test

    - add policy forbid_external_sharing
    - add policy forbid_sharing
    - add polocy forbid_cross_drive_move
    - add policy forbid_owner_role_change
lopdf <0.42.0 has an unbounded-recursion stack overflow on deeply
nested PDF objects (advisory 2026-06-21). The vector through OxiCloud
is the search-index text extractor — anyone who can upload a file can
ship a malicious PDF, and the existing catch_unwind in
text_extractor::extract_pdf does not save us: a stack overflow aborts
the process, it is not a panic.

pdf-extract 0.12.0 requires lopdf ^0.42 which adds the depth bound;
the only consumer call (`extract_text_from_mem`) is API-compatible,
no source changes needed.
@EdouardVanbelle EdouardVanbelle marked this pull request as ready for review June 26, 2026 17:34
@DioCrafts DioCrafts merged commit 8ed8fe8 into AtalayaLabs:main Jun 26, 2026
14 checks passed
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.

2 participants