add permission controls to "storage" objects such as attachments or other stored files

This commit is contained in:
friendica
2012-12-22 03:33:12 -08:00
parent 8d71fe91f6
commit f09b9f1e44
7 changed files with 27 additions and 5 deletions

View File

@@ -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', "<br />\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