core icon indicating copy to clipboard operation
core copied to clipboard

Re-add a deleted user, old files exist but can not be viewed

Open ser72 opened this issue 13 years ago • 11 comments

Expected behavior User directories created without any files existing in them

Actual behavior User directory created with pre-existing files contained on the server, but not in the cache.

Steps to reproduce User is configured in ownCloud and has files stored

delete_user

User is then deleted from ownCloud After a refresh of the page by the Admin, which seems to confirm the delete, the user’s directory is removed from the server

delete_user_2

User is created with same user name as the one previously deleted The user’s previous files appear on the storage server. They do not appear in cache, and cannot be viewed on either the server or the web

delete_user_3

Server configuration {"installed":"true","version":"5.0.15","versionstring":"5.0.10"}

Client configuration browser: IE9, IE 10, Chrome,

ser72 avatar Aug 15 '13 13:08 ser72

this is a know issue for a long time

@MTRichards @karlitschek we need a decision here

DeepDiver1975 avatar Aug 15 '13 14:08 DeepDiver1975

I thought the current state was that the local user data was deleted? Regardless, we need a switch that when a user is deleted, the admin is asked "delete user data?" and they click yes or no.

MTRichards avatar Aug 15 '13 14:08 MTRichards

beaming in @jancborchardt ...

DeepDiver1975 avatar Aug 15 '13 14:08 DeepDiver1975

Yeah, I thought it was deleted too. And should the admin even be asked? What’s the case for deleting a user but not their data?

jancborchardt avatar Aug 15 '13 15:08 jancborchardt

I believe the that has to do with shared files. If User-A shares a file to other users. And User-A leaves the company, that file may need to remain with the other users and not be deleted.

From: Jan-Christoph Borchardt [mailto:[email protected]] Sent: Thursday, August 15, 2013 11:10 AM To: owncloud/core Cc: Steve Robinson Subject: Re: [core] Re-add a deleted user, old files exist but can not be viewed (#4450)

Yeah, I thought it was deleted too. And should the admin even be asked? What’s the case for deleting a user but not their data?

— Reply to this email directly or view it on GitHub https://github.com/owncloud/core/issues/4450#issuecomment-22709127 . https://github.com/notifications/beacon/wMgqwf0iShPdEdXLpajheGQz8OKTusw3cUrRsWij9buraj4JOX8ct2_Z0b6e0zxz.gif

ser72 avatar Aug 15 '13 15:08 ser72

So, this points to a deeper problem in how we handle sharing, right? But can we fix the problem at hand in a different way? Or is it not that important? @karlitschek @MTRichards?

jancborchardt avatar Nov 21 '13 11:11 jancborchardt

Assigned this case to @LukasReschke as https://github.com/owncloud/core/issues/6271 has been closed as a duplicate

VicDeo avatar Apr 17 '14 21:04 VicDeo

Don´t know if there is time enough, but this would be a great future for Owncloud 7.

enoch85 avatar Apr 19 '14 10:04 enoch85

Is this issue planned to be fixed in combination with #7151 ?

enoch85 avatar May 17 '14 18:05 enoch85

This is fixed in oC 7 right?

enoch85 avatar Jul 04 '14 13:07 enoch85

This is fixed in oC 7. If you delete a user, the data disappears.

enoch85 avatar Dec 10 '14 00:12 enoch85