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 --- mod/settings.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/settings.php') diff --git a/mod/settings.php b/mod/settings.php index 060258058..2409c2eca 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -340,6 +340,8 @@ function settings_post(&$a) { $arr['channel_w_photos'] = (($_POST['post_photos']) ? $_POST['post_photos'] : 0); $arr['channel_w_chat'] = (($_POST['chat']) ? $_POST['chat'] : 0); $arr['channel_a_delegate'] = (($_POST['delegate']) ? $_POST['delegate'] : 0); + $arr['channel_r_storage'] = (($_POST['view_storage']) ? $_POST['view_storage'] : 0); + $arr['channel_w_storage'] = (($_POST['write_storage']) ? $_POST['write_storage'] : 0); $notify = 0; -- cgit v1.2.3