From f09b9f1e446ff005a19c451efccbd8b3806ef5f9 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 22 Dec 2012 03:33:12 -0800 Subject: add permission controls to "storage" objects such as attachments or other stored files --- boot.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 0405948c9..01b8c7dd1 100644 --- a/boot.php +++ b/boot.php @@ -16,7 +16,7 @@ require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica Red'); define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1007 ); +define ( 'DB_UPDATE_VERSION', 1008 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -190,6 +190,9 @@ define ( 'PERMS_W_PHOTOS', 0x0200); define ( 'PERMS_W_CHAT', 0x0400); define ( 'PERMS_A_DELEGATE', 0x0800); +define ( 'PERMS_R_STORAGE', 0x1000); +define ( 'PERMS_W_STORAGE', 0x2000); + // General channel permissions -- cgit v1.2.3