From 250fa22423e84029aaec633f250ecbbe51873c18 Mon Sep 17 00:00:00 2001 From: Jonathan Curran Date: Mon, 9 Jul 2018 21:09:02 -0600 Subject: [PATCH] Relax search scope so content we can edit shows up (#41) Removal of the account_id filter enables content that the user has edit/collaboration permissions on to be selectable. --- rsconnect/rsconnect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rsconnect/rsconnect.py b/rsconnect/rsconnect.py index 41ba0d93..dff75fae 100644 --- a/rsconnect/rsconnect.py +++ b/rsconnect/rsconnect.py @@ -212,10 +212,8 @@ def task_is_finished(task_id): def app_search(uri, api_key, app_title): with RSConnect(uri, api_key) as api: - me = api.me() filters = [('count', 5), ('filter', 'min_role:editor'), - ('filter', 'account_id:%d' % me['id']), ('search', app_title)] apps = api.app_find(filters) if apps is None: