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

Delete ALL relevant local files once account is removed #627

Closed
mario opened this issue Feb 6, 2017 · 11 comments
Closed

Delete ALL relevant local files once account is removed #627

mario opened this issue Feb 6, 2017 · 11 comments

Comments

@mario
Copy link
Contributor

mario commented Feb 6, 2017

Currently when you remove an account all files stay on your phone.

This is, IMHO, a very big security problem and should be remedied for 1.5.0.

Todo:
Show a warning with the options OK and Cancel, but don't provide the option "Remove account but keep data locally".

@mario mario added this to the Nextcloud App 1.5.0 milestone Feb 6, 2017
@tobiasKaminsky
Copy link
Member

I think there was a discussion about it, either here or back then on ownCloud repo...
But I do not remember the conclusion of it...

When removing the account the user should get a warning "all files will be deleted from your phone and stay on server" to make sure the user knows what it is doing.
I think it should be a question and the user can choose to keep the files (as it is his/her phone and his/her data and he is responsible for it).

@AndyScherzinger @jancborchardt

@mario
Copy link
Contributor Author

mario commented Feb 6, 2017

Less options, more defaults - since the files stay on the server no harm done.

But @jancborchardt is our UX guy, so let's just wait for him...

@tobiasKaminsky
Copy link
Member

(label 1.-4. are only for PRs, Issue should only have these labels "none", "approved", "pr exists").

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Feb 6, 2017

I'd also say there should then be a warning that the files will be removed from the device but like Mario argues for the default also say that if the user chooses to remove the account the files will be always be deleted. So there shouldn't be an option remove the account but keep the files.

Else just don't remove the account. ;)

@AndyScherzinger AndyScherzinger added the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Feb 6, 2017
@mario
Copy link
Contributor Author

mario commented Feb 6, 2017

@AndyScherzinger some bugs in your answer maybe? :D

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Feb 6, 2017

I edited the comment, tl;dr:

Show a warning with the options OK and Cancel, but don't provide the option "Remove account but keep data locally".

@mario
Copy link
Contributor Author

mario commented Feb 6, 2017

I can live with that, even though I'm always a fan of less warnings, especially with things that are easily revertable (like removing an account from an app is). :)

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Feb 6, 2017

It is not about the part of re-adding the account but of possibly having to re-download all the files ;)

@OlivierS1
Copy link

Should this apply to server password revocation as well. If security is a concern it would make sense content is made unavailable. Not sure how much can really be done unless device gets proper intrrnet access. Or maybe should this be left to antitheft apps instead.

@jancborchardt
Copy link
Member

Yep, just delete but with a warning is nice cause it's a very destructive action (hassle to add the account again) and very seldomly done. As @AndyScherzinger proposed.

@jancborchardt jancborchardt removed their assignment Mar 5, 2017
@tobiasKaminsky tobiasKaminsky added approved and removed needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Mar 5, 2017
@mario mario self-assigned this May 4, 2017
@AndyScherzinger AndyScherzinger modified the milestones: Nextcloud App 1.6.0, Nextcloud App 1.5.0 Jun 6, 2017
@mario mario modified the milestones: Nextcloud App 1.5.0, Nextcloud App 1.6.0 Jun 30, 2017
@AndyScherzinger
Copy link
Member

merged to master for 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants