Skip to content
Snippets Groups Projects
Commit b4515d87 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Only folders have Create permission

parent 7e36f730
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,10 @@ abstract class Common implements \OC\Files\Storage\Storage {
}
}
public function isCreatable($path) {
return $this->isUpdatable($path);
if ($this->is_dir($path) && $this->isUpdatable($path)) {
return true;
}
return false;
}
public function isDeletable($path) {
return $this->isUpdatable($path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment