diff --git a/decidim-admin/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb b/decidim-admin/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb index 273af4a55f7ff..64c67a51319b9 100644 --- a/decidim-admin/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +++ b/decidim-admin/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb @@ -16,7 +16,7 @@ module NeedsAdminTosAccepted def tos_accepted_by_admin return unless request.format.html? return unless current_user - return unless user_has_any_role?(current_user) + return unless user_has_any_role?(current_user, broad_check: true) return if current_user.admin_terms_accepted? return if permitted_paths?