{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/5131","repository_url":"https://api.github.com/repos/owncloud/client","labels_url":"https://api.github.com/repos/owncloud/client/issues/5131/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/5131/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/5131/events","html_url":"https://github.com/owncloud/client/issues/5131","id":172530600,"number":5131,"title":"[Windows] Prevent accidental deletion of whole root folders in connected folder","user":{"login":"pke","id":164625,"avatar_url":"https://avatars.githubusercontent.com/u/164625?v=3","gravatar_id":"","url":"https://api.github.com/users/pke","html_url":"https://github.com/pke","followers_url":"https://api.github.com/users/pke/followers","following_url":"https://api.github.com/users/pke/following{/other_user}","gists_url":"https://api.github.com/users/pke/gists{/gist_id}","starred_url":"https://api.github.com/users/pke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pke/subscriptions","organizations_url":"https://api.github.com/users/pke/orgs","repos_url":"https://api.github.com/users/pke/repos","events_url":"https://api.github.com/users/pke/events{/privacy}","received_events_url":"https://api.github.com/users/pke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-22T19:11:17Z","updated_at":"2016-08-24T13:30:04Z","closed_at":"2016-08-24T11:55:34Z","body":"### Steps to reproduce\r\n\r\n1. Connect a folder\r\n2. Let it finish sync\r\n3. Drag one of the root folders from the connected folder to the Windows Desktop\r\n4. Watch all content of your nextcloud being deleted\r\n\r\n### Expected behaviour\r\nThe client should install a Windows Explorer ICopyHook to prevent such operations.\r\n\r\nSee https://msdn.microsoft.com/en-us/library/windows/desktop/cc144063(v=vs.85).aspx\r\n\r\nIt could request the user to confirm the operation. If the user is made aware of the DELETE operation to happen the copyhook handler can let the OS continue with its operation, otherwise `IDCANCEL` the whole MOVE operation.\r\nIt could also notify the user about useless COPY operations, since wherever you copy the content of the nextcloud folder it will not be kept in sync.\r\n\r\n\r\n### Actual behaviour\r\nThe folder was deleted without further confirmation.\r\n\r\n### Client configuration\r\n\r\n**Operating system:**\r\n\r\nWindows 8/10\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/242063708","html_url":"https://github.com/owncloud/client/issues/5131#issuecomment-242063708","issue_url":"https://api.github.com/repos/owncloud/client/issues/5131","id":242063708,"user":{"login":"pke","id":164625,"avatar_url":"https://avatars.githubusercontent.com/u/164625?v=3","gravatar_id":"","url":"https://api.github.com/users/pke","html_url":"https://github.com/pke","followers_url":"https://api.github.com/users/pke/followers","following_url":"https://api.github.com/users/pke/following{/other_user}","gists_url":"https://api.github.com/users/pke/gists{/gist_id}","starred_url":"https://api.github.com/users/pke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pke/subscriptions","organizations_url":"https://api.github.com/users/pke/orgs","repos_url":"https://api.github.com/users/pke/repos","events_url":"https://api.github.com/users/pke/events{/privacy}","received_events_url":"https://api.github.com/users/pke/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T13:30:04Z","updated_at":"2016-08-24T13:30:04Z","body":"No, this is a client bug. They are using the owncloud client (for now). The owncloud client needs to take of this issue, even for owncloud users."}}
{"actor":{"display_login":"pke"}}