Skip to content

Search should be disabled from products query when general configuration chooses to disabled it #29927

Closed
@pmarjan

Description

@pmarjan

Consider configuration "Disallow Catalog Search By" in the general Category Permissions.

If the relevant customer group is denied search then this kind of query
products(search: "product"){...}
should return no results

The Luma equivalent is that the search controller catalogsearch/result/?q=product redirects to 404 - no page found.

Preconditions (*)

Steps to reproduce (*)

Expected result (*)

  1. [Screenshots, logs or description]

Actual result (*)

  1. [Screenshots, logs or description]

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions