From d0f422ee39c4d5639d91691eb677dd77b0825af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 10 May 2019 22:11:31 +0200 Subject: [PATCH] Don't force ldap_sync in app install --- src/yunohost/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 0b5612d1a..dddd0e390 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -845,7 +845,9 @@ def app_install(operation_logger, auth, app, label=None, args=None, no_remove_on os.system('cp -R %s/%s %s' % (extracted_app_folder, file_to_copy, app_setting_path)) # Create permission before the install (useful if the install script redefine the permission) - permission_add(auth, app=app_instance_name, permission="main") + # Note that sync_perm is disabled to avoid triggering a whole bunch of code and messages + # can't be sure that we don't have one case when it's needed + permission_add(auth, app=app_instance_name, permission="main", sync_perm=False) # Execute the app install script install_retcode = 1