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

BO - Login - Invalid token when you connect with other person than the Super User #32186

Open
2 tasks done
AureRita opened this issue Apr 17, 2023 · 3 comments
Open
2 tasks done
Labels
1.7.8.9 Affects versions BO Category: Back Office Bug Type: Bug Login Label : access to the back office Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Ready Status: Issue is ready to be worked on Regression Type: regression Security Label: Which BO under menu is concerned Team Label: Which BO under menu is concerned Verified The issue has been reproduced

Comments

@AureRita
Copy link
Contributor

Prerequisites

Describe the bug and add attachments

When I try to connect on BO with a salesman's profile, I get an invalid token, I didn't have it when I try to on BO with a SuperAdmin's profile. As you can see on this video :

Untitled_.Apr.17.2023.2_35.PM.webm

Expected behavior

I don't want an invalid token

Steps to reproduce

  1. Install fresh install of prestashop 1.7.8.9
  2. Go to BO > Advanced Parameters > Team
  3. Clic on Add new member
  4. Set the permission profile at Salesman
  5. Save it
  6. Connect on the BO with the new account
  7. Have a beautifull invalid token

PrestaShop version(s) where the bug happened

1.7.8.9

PHP version(s) where the bug happened

7.4

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

No response

Your company or customer's name goes here (if applicable).

No response

@AureRita AureRita added Bug Type: Bug BO Category: Back Office Team Label: Which BO under menu is concerned Ready Status: Issue is ready to be worked on 1.7.8.x Branch Login Label : access to the back office New New issue not yet processed by QA labels Apr 17, 2023
@florine2623
Copy link
Contributor

Hello @AureRita ,

I can't reproduce it on my end. I do not have an invalid token, i can log in as expected.

@PrestaShop/qa-functional , can someone try to reproduce it please ? :)

@szavadskiy
Copy link

szavadskiy commented Apr 19, 2023

Hello, I reproduced the ISSUE on my side with prestashop_1.7.8.9+build.2 + PHP 7.4
See video:

Untitled_.Apr.19.2023.12_50.PM.mp4

@hibatallahAouadni
Copy link
Contributor

Me too I reproduce the issue on 1789_build2

@hibatallahAouadni hibatallahAouadni added Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Verified The issue has been reproduced Security Label: Which BO under menu is concerned and removed New New issue not yet processed by QA labels Apr 19, 2023
@hibatallahAouadni hibatallahAouadni added 1.7.8.9 Affects versions Regression Type: regression and removed 1.7.8.x Branch labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.8.9 Affects versions BO Category: Back Office Bug Type: Bug Login Label : access to the back office Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Ready Status: Issue is ready to be worked on Regression Type: regression Security Label: Which BO under menu is concerned Team Label: Which BO under menu is concerned Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

4 participants