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

[stable28] fix: Pass the mountpoint target user to storages without owner #46680

Merged
merged 2 commits into from
Sep 3, 2024

Commits on Sep 3, 2024

  1. fix: Pass the mountpoint target user to storages without owner

    Storages that do not have a dedicated owner (e.g. groupfolders, external
    storages) currently always assume the current session user as the owner.
    This leads to several issues when there is no user session but a node is
    obtained through a user folder.
    
    In order to have the correct user available we need to pass the user
    that is used to setup a mountpoint along to the storage layer as we
    generally assume that an owner is available for those.
    
    Signed-off-by: Julius Härtl <jus@bitgrid.net>
    juliushaertl authored and AndyScherzinger committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    53f92e6 View commit details
    Browse the repository at this point in the history
  2. Update lib/public/Files/Storage/IStorage.php

    Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
    Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
    AndyScherzinger and come-nc authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    49e9442 View commit details
    Browse the repository at this point in the history