Closed phil-davis closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
This should be documented somewhere.
See doc PR https://github.com/owncloud/docs-server/pull/1052
@jnweiger if you have a release branch in progress, then please cherry-pick (or however you want to do it) this into the release branch.
Thanks @phil-davis - merged into release-0.3.0
Description
Set the LastLoginTimestamp when a user is created for an import. That prevents later code from executing "first time login" actions for the user when they next log in. The importer already does the needed stuff to set up the user's file system etc. We don't want later code to do "bonus" stuff, like copying in the skeleton.
A test scenario has been added to cover importing when a skeleton dir is defined on the system. While doing that, I also improved the test code - it was not actually deleting imported users at the end of the scenario, and the
simpleExport/userfoo
fixture was missing ashares.jsonl
file, which was causing the import to report a problem (but the files were being imported, so the existing tests were passing)Related Issue
Fixes #234
How Has This Been Tested?
Manually rerun the sequence in the issue and observe that the skeleton files have not been accidentally added to the user's files.
Types of changes
Checklist: