adapt access check on filters endpoint

This commit is contained in:
ulferts
2025-12-05 16:58:02 +01:00
parent d80182d27f
commit e12ed6e2da
@@ -32,7 +32,9 @@ class Projects::FiltersController < ApplicationController
# include QueriesHelper
include Queries::Loading
before_action :require_admin # to be adapted
# This is a part of the projects list page which is public. Checks within filters will
# prevent sensitive information to be displayed wrongfully.
no_authorization_required! :show
before_action :load_query_or_deny_access
def show