aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Connect.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-09 07:19:23 +0000
committerMario <mario@mariovavti.com>2020-10-09 07:19:23 +0000
commitc387902a4415b9e04c4e3cae5f9c8fe8b3540a12 (patch)
tree77434a6fcd86509f1e5bbeb7fea8a58c14d5ea6d /Zotlabs/Lib/Connect.php
parentad51be7dd9446b1338f2e140a479a497f56820f3 (diff)
downloadvolse-hubzilla-c387902a4415b9e04c4e3cae5f9c8fe8b3540a12.tar.gz
volse-hubzilla-c387902a4415b9e04c4e3cae5f9c8fe8b3540a12.tar.bz2
volse-hubzilla-c387902a4415b9e04c4e3cae5f9c8fe8b3540a12.zip
5.0RC testing: correctly set permissions for rss feeds
Diffstat (limited to 'Zotlabs/Lib/Connect.php')
-rw-r--r--Zotlabs/Lib/Connect.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/Zotlabs/Lib/Connect.php b/Zotlabs/Lib/Connect.php
index caac30f7a..481b02ce2 100644
--- a/Zotlabs/Lib/Connect.php
+++ b/Zotlabs/Lib/Connect.php
@@ -187,12 +187,8 @@ class Connect {
// Always set these "remote" permissions for feeds since we cannot interact with them
// to negotiate a suitable permission response
- $p = get_abconfig($uid,$xchan_hash,'system','their_perms',EMPTY_STR);
- if ($p) {
- $p .= ',';
- }
- $p .= 'view_stream,republish';
- set_abconfig($uid,$xchan_hash,'system','their_perms',$p);
+ set_abconfig($uid,$xchan_hash,'their_perms','view_stream',1);
+ set_abconfig($uid,$xchan_hash,'their_perms','republish',1);
}