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

Validate reshare permissions against actual path that the user tries to share #27820

Closed

Commits on Oct 28, 2021

  1. Validate reshare permissions against actual path that the user tries …

    …to share
    
    Otherwise this could lead to taking the wrong user mount in case there
    are multiple ones with different permissions that the user could use to
    reshare
    
    Signed-off-by: Julius Härtl <jus@bitgrid.net>
    juliusknorr committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    b5bf60f View commit details
    Browse the repository at this point in the history
  2. Fix tests to use the proper node of the user creating the share

    Signed-off-by: Julius Härtl <jus@bitgrid.net>
    juliusknorr committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    70845cf View commit details
    Browse the repository at this point in the history
  3. Add test case

    Signed-off-by: Julius Härtl <jus@bitgrid.net>
    juliusknorr committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    62f507e View commit details
    Browse the repository at this point in the history
  4. Match against share target and node path

    Signed-off-by: Julius Härtl <jus@bitgrid.net>
    juliusknorr committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    a6c557c View commit details
    Browse the repository at this point in the history