aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-11-11 13:40:46 +1100
committerRedMatrix <info@friendica.com>2014-11-11 13:40:46 +1100
commit7cd06b736ac9ce1d78b84880c63e25ee7f01c362 (patch)
tree22294219c9ad15576b3bce0d2ca29f9262f546f1
parentecdfa0b96d181ab3b840e63d5cfa0d19fc57e464 (diff)
parente7b634f81d5c5cd85210cce7ed69ffb27470c66c (diff)
downloadvolse-hubzilla-7cd06b736ac9ce1d78b84880c63e25ee7f01c362.tar.gz
volse-hubzilla-7cd06b736ac9ce1d78b84880c63e25ee7f01c362.tar.bz2
volse-hubzilla-7cd06b736ac9ce1d78b84880c63e25ee7f01c362.zip
Merge pull request #685 from zzottel/master
set channel_w_stream to 0 for forum roles
-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;