From c387902a4415b9e04c4e3cae5f9c8fe8b3540a12 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 9 Oct 2020 07:19:23 +0000 Subject: 5.0RC testing: correctly set permissions for rss feeds --- Zotlabs/Lib/Connect.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Zotlabs') 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); } -- cgit v1.2.3