diff --git a/Web/app.py b/Web/app.py index b4ebeb8..273df73 100755 --- a/Web/app.py +++ b/Web/app.py @@ -5354,7 +5354,7 @@ def student_card_single_barcode_download(card_id): return redirect(url_for('login')) current_permissions = us.get_effective_permissions(session['username']) - if not current_permissions['actions'].get('can_manage_users', False): + if not current_permissions['actions'].get('can_manage_settings', False): flash('Ihnen fehlen die nötigen Berechtigungen, um diese Aktion auszuführen.', 'error') return redirect(url_for('library_view')) if not cfg.MODULES.is_enabled('student_cards'):