aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2014-11-10 12:25:35 +0100
committerzottel <github@zottel.net>2014-11-10 12:25:35 +0100
commite7b634f81d5c5cd85210cce7ed69ffb27470c66c (patch)
tree4ebc1d71263665bd8468addd01f185f6e5c262eb /include
parent3b74e3c1e10ebe3cc8880b3b4ede57f919cb3d10 (diff)
downloadvolse-hubzilla-e7b634f81d5c5cd85210cce7ed69ffb27470c66c.tar.gz
volse-hubzilla-e7b634f81d5c5cd85210cce7ed69ffb27470c66c.tar.bz2
volse-hubzilla-e7b634f81d5c5cd85210cce7ed69ffb27470c66c.zip
set channel_w_stream to 0 for forum roles
Diffstat (limited to 'include')
-rw-r--r--include/permissions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/permissions.php b/include/permissions.php
index 186ba32d8..119ecc865 100644
--- a/include/permissions.php
+++ b/include/permissions.php
@@ -549,7 +549,7 @@ function get_role_perms($role) {
$ret['channel_r_profile'] = PERMS_PUBLIC;
$ret['channel_r_photos'] = PERMS_PUBLIC;
$ret['channel_r_abook'] = PERMS_PUBLIC;
- $ret['channel_w_stream'] = PERMS_CONTACTS;
+ $ret['channel_w_stream'] = 0;
$ret['channel_w_wall'] = PERMS_CONTACTS;
$ret['channel_w_tagwall'] = PERMS_CONTACTS;
$ret['channel_w_comment'] = PERMS_CONTACTS;
@@ -581,7 +581,7 @@ function get_role_perms($role) {
$ret['channel_r_profile'] = PERMS_PUBLIC;
$ret['channel_r_photos'] = PERMS_PUBLIC;
$ret['channel_r_abook'] = PERMS_PUBLIC;
- $ret['channel_w_stream'] = PERMS_CONTACTS;
+ $ret['channel_w_stream'] = 0;
$ret['channel_w_wall'] = PERMS_CONTACTS;
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
$ret['channel_w_comment'] = PERMS_CONTACTS;
@@ -614,7 +614,7 @@ function get_role_perms($role) {
$ret['channel_r_profile'] = PERMS_CONTACTS;
$ret['channel_r_photos'] = PERMS_CONTACTS;
$ret['channel_r_abook'] = PERMS_CONTACTS;
- $ret['channel_w_stream'] = PERMS_CONTACTS;
+ $ret['channel_w_stream'] = 0;
$ret['channel_w_wall'] = PERMS_CONTACTS;
$ret['channel_w_tagwall'] = 0;
$ret['channel_w_comment'] = PERMS_CONTACTS;