Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backport/2.19] fix(auth/scope): fix nested resource check when creating a new resource #4665

Merged
merged 1 commit into from
Apr 29, 2024

Commits on Apr 29, 2024

  1. fix(auth/scope): fix nested resource check when creating a new resource

    When creating a reource (e.g a document via the app/new endpoint) below a next
    folder structure of a public link, we can't stat the resource itself (it
    doesn't exit yet) for checking if it is a descendant of the share root.
    We now stat the resource's parent instead in that case.
    
    Fixes: owncloud/ocis#8957
    (cherry picked from commit 5faad8d)
    rhafer committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d2deee7 View commit details
    Browse the repository at this point in the history