summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 0a7c84f61da..7ce349a2147 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -40,6 +40,11 @@ function fileDownloadPath(dir, file) {
}
OC={
+ PERMISSION_CREATE:4,
+ PERMISSION_READ:1,
+ PERMISSION_UPDATE:2,
+ PERMISSION_DELETE:8,
+ PERMISSION_SHARE:16,
webroot:oc_webroot,
appswebroots:oc_appswebroots,
currentUser:(typeof oc_current_user!=='undefined')?oc_current_user:false,