add permission controls to "storage" objects such as attachments or other stored files
This commit is contained in:
5
boot.php
5
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', "<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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user