aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-22 03:33:12 -0800
committerfriendica <info@friendica.com>2012-12-22 03:33:12 -0800
commitf09b9f1e446ff005a19c451efccbd8b3806ef5f9 (patch)
tree2190b0ccfbb1075be7b0031f597fefdef3981688 /mod
parent8d71fe91f67eeb501efd6fedd17992c12882daeb (diff)
downloadvolse-hubzilla-f09b9f1e446ff005a19c451efccbd8b3806ef5f9.tar.gz
volse-hubzilla-f09b9f1e446ff005a19c451efccbd8b3806ef5f9.tar.bz2
volse-hubzilla-f09b9f1e446ff005a19c451efccbd8b3806ef5f9.zip
add permission controls to "storage" objects such as attachments or other stored files
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php2
1 files changed, 2 insertions, 0 deletions
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;