-
Notifications
You must be signed in to change notification settings - Fork 67
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
Enabling domain stripping creates a new user instead of changing existing #127
Comments
Well, that's kind of expected because of the simplicity of this app and the fact that usernames can't be changed in Nextcloud. Afaik the username is used as unique user identifier and you would need to change it in all possible database tables (including those of all installed apps) as well as the respective folder(s) in the data directory (cc @ChristophWurst ?). |
@violoncelloCH Thanks for clarification. I think thats a good point to add it to the documentation. Would it be an useful option to migrate all data from "old user" to the new user account with |
yes that's right, we should add this to the documentation! Best would be a general statement (at the top) that any change which modifies how the username will look like will create a new user account and a reference to this from the imap domain stripping section etc. Transferring file ownership can indeed be a good idea here, however if there are other apps used (calendar, deck, talk or any other app) you would need to check and consider if a transfer or manual import/export there is also available/needed for your users. |
well... this is some kind of mentioned at the 2nd paragraph of the readme, but indeed not completely clear. one additional thing @controlcde, you should consider when using more than one IMAP-server (and obviously also domain) in conjunction with stripping domains: how do/can you ensure that the |
Steps to reproduce
Expected behaviour
I want to use the existing user with his owned files.
Actual behaviour
A new user with a new uid (checked in database) - with stripped domain name - will create and got an empty folder.
Affected Authentication backend
IMAP
Server configuration
User External App version: 0.8.0
Operating system: nextcloud:latest
Database: mariadb
Nextcloud version: 18.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from:
Nextcloud configuration:
Config report
The text was updated successfully, but these errors were encountered: