Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group access for categories is being checked even after disabling customer groups #29820

Closed
2 tasks done
Tracked by #19821
daresh opened this issue Sep 30, 2022 · 2 comments · Fixed by #29821
Closed
2 tasks done
Tracked by #19821

Group access for categories is being checked even after disabling customer groups #29820

daresh opened this issue Sep 30, 2022 · 2 comments · Fixed by #29821
Labels
1.7.7.8 Affects versions Bug Type: Bug Categories Label: Which BO under menu is concerned Customer groups Label: Which BO under menu is concerned FO Category: Front Office Major Severity: major bug > https://build.prestashop.com/news/severity-classification PR available Solution: issue is being addressed Verified The issue has been reproduced

Comments

@daresh
Copy link
Contributor

daresh commented Sep 30, 2022

Prerequisites

Describe the bug and add screenshots

PrestaShop keeps checking group access for categories, even after the "Customer groups" setting is set to NO.

Expected behavior

Categories should be freely accessible after disabling "Customer groups"

Steps to reproduce

  1. Have some category assigned to only "customer" groups (visitor and guest unassigned).
    2022-09-30 10_30_57-Edit_ Art • 1 7 8 Dev — Firefox Developer Edition
  2. Have some product assigned only to this category and no other.
  3. Try to visit both this category and this product while being a visitor - notice a "You do not have access..." error message.
  4. Disable "Customer groups" in Performance settings.
  5. Try to visit the category and product again, the product becomes visible, but the category page still gives a "You do not have access.." message.

PrestaShop version(s) where the bug happened

1.7.8.x, 8.0.x

PHP version(s) where the bug happened

No response

If your bug is related to a module, specify its name and its version

No response

@daresh daresh added Bug Type: Bug New New issue not yet processed by QA labels Sep 30, 2022
@daresh daresh changed the title Group access for categories is being check even after disabling customer group Group access for categories is being checked even after disabling customer group Sep 30, 2022
@daresh daresh changed the title Group access for categories is being checked even after disabling customer group Group access for categories is being checked even after disabling customer groups Sep 30, 2022
@prestonBot prestonBot added the PR available Solution: issue is being addressed label Sep 30, 2022
@Hlavtox
Copy link
Contributor

Hlavtox commented Sep 30, 2022

@daresh Good catch, will be fixed by #29821

@MhiriFaten
Copy link

MhiriFaten commented Sep 30, 2022

Hello @daresh ,

I was able to reproduce your issue using the same steps mentioned with PS1778, PS1787, PS178X PS80X and PS800

Untitled_.Sep.30.2022.12_36.PM.webm

Thank you

@MhiriFaten MhiriFaten added 8.0.x Branch Major Severity: major bug > https://build.prestashop.com/news/severity-classification Verified The issue has been reproduced FO Category: Front Office 1.7.7.8 Affects versions and removed New New issue not yet processed by QA 8.0.x Branch labels Sep 30, 2022
@hibatallahAouadni hibatallahAouadni added Needs Specs Status: issue needs to be specified Customer groups Label: Which BO under menu is concerned Categories Label: Which BO under menu is concerned labels Sep 30, 2022
@prestashop-issue-bot prestashop-issue-bot bot removed the Needs Specs Status: issue needs to be specified label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.8 Affects versions Bug Type: Bug Categories Label: Which BO under menu is concerned Customer groups Label: Which BO under menu is concerned FO Category: Front Office Major Severity: major bug > https://build.prestashop.com/news/severity-classification PR available Solution: issue is being addressed Verified The issue has been reproduced
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants