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

Various fixes for transfer ownership #16439

Closed
wants to merge 5 commits into from
Closed

Commits on Jan 3, 2020

  1. Fix transfer-ownership for Group Folders

    Because Group folders don't have owners, use the same system to check
    the permissions of the node.
    
    Signed-off-by: Tobia De Koninck <[email protected]>
    LEDfan committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    5fb6e9e View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Signed-off-by: Tobia De Koninck <[email protected]>
    LEDfan committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    061a919 View commit details
    Browse the repository at this point in the history
  3. Add option to transfer-ownership to move data

    This will move the home folder of own user to another user. Only allowed
    if that other user's home folder is empty.
    Can be used as workaround to rename users.
    
    Signed-off-by: Tobia De Koninck <[email protected]>
    LEDfan committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    e1505ac View commit details
    Browse the repository at this point in the history
  4. Prevent transferring data to user which never loggedin

    Signed-off-by: Tobia De Koninck <[email protected]>
    LEDfan committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    9c42e85 View commit details
    Browse the repository at this point in the history
  5. Catch \Error in Transfer::restoreShares

    This makes the command more fault tolerant. An \Error can happen when
    e.g. the owner of a share is null.
    If we don't catch this, the restore process will stop in an unknown
    state.
    
    Signed-off-by: Tobia De Koninck <[email protected]>
    LEDfan committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    d89d987 View commit details
    Browse the repository at this point in the history