From aacd3164fa9efdb4dc3f835f67a61dfc14dc8d11 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 28 Dec 2013 16:05:03 -0800 Subject: allow objects to have permissions --- boot.php | 2 +- install/database.sql | 4 ++++ install/update.php | 12 +++++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index eeaae7c8c..79f1b4f79 100755 --- a/boot.php +++ b/boot.php @@ -46,7 +46,7 @@ define ( 'RED_PLATFORM', 'Red Matrix' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1088 ); +define ( 'DB_UPDATE_VERSION', 1089 ); define ( 'EOL', '
' . "\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/install/database.sql b/install/database.sql index 6be73f193..ac8382162 100644 --- a/install/database.sql +++ b/install/database.sql @@ -592,6 +592,10 @@ CREATE TABLE IF NOT EXISTS `obj` ( `obj_type` int(10) unsigned NOT NULL DEFAULT '0', `obj_obj` char(255) NOT NULL DEFAULT '', `obj_channel` int(10) unsigned NOT NULL DEFAULT '0', + `allow_cid` MEDIUMTEXT NOT NULL DEFAULT '', + `allow_gid` MEDIUMTEXT NOT NULL DEFAULT '', + `deny_cid` MEDIUMTEXT NOT NULL DEFAULT '', + `deny_gid` MEDIUMTEXT NOT NULL DEFAULT '', PRIMARY KEY (`obj_id`), KEY `obj_verb` (`obj_verb`), KEY `obj_page` (`obj_page`), diff --git a/install/update.php b/install/update.php index 8e64413dc..5025222a6 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@