summaryrefslogtreecommitdiffstats
path: root/lib/filestorage.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-24 17:42:07 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-24 20:10:28 -0400
commitf7b89f047504740224f664917d6588c1fe203877 (patch)
tree5cce4d672681a025466dce8b7237cf17b652eab9 /lib/filestorage.php
parentc60c6024a7f02fc9548bc8b8f45f02efa1f9346f (diff)
downloadnextcloud-server-f7b89f047504740224f664917d6588c1fe203877.tar.gz
nextcloud-server-f7b89f047504740224f664917d6588c1fe203877.zip
Add CRUDS permissions calls to filesystem, deprecate is_readable() and is_writable()
Diffstat (limited to 'lib/filestorage.php')
-rw-r--r--lib/filestorage.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/filestorage.php b/lib/filestorage.php
index 71ef4aed00b..c104fca87fe 100644
--- a/lib/filestorage.php
+++ b/lib/filestorage.php
@@ -33,8 +33,11 @@ abstract class OC_Filestorage{
abstract public function stat($path);
abstract public function filetype($path);
abstract public function filesize($path);
- abstract public function is_readable($path);
- abstract public function is_writable($path);
+ abstract public function isCreatable($path);
+ abstract public function isReadable($path);
+ abstract public function isUpdatable($path);
+ abstract public function isDeletable($path);
+ abstract public function isSharable($path);
abstract public function file_exists($path);
abstract public function filectime($path);
abstract public function filemtime($path);