diff --git a/extra/auquotidien.py b/extra/auquotidien.py index 471b1b9..e356013 100644 --- a/extra/auquotidien.py +++ b/extra/auquotidien.py @@ -35,8 +35,13 @@ def check_visibility(target): target = target.strip('/') if target == 'management': target = 'forms' - if target in ('strongbox', ) and not get_publisher().has_site_option(target): - return False + if target == 'strongbox': + if not get_publisher().has_site_option(target): + # strongbox disabled in site-options.cfg + return False + if not get_cfg('misc', {}).get('aq-strongbox'): + # strongbox disabled in settings panel + return False admin_role = get_cfg('aq-permissions', {}).get(target, None) if not admin_role: return False