Content
General info
Implement middleware that checks if the user’s role matches the content of the page they are attempting to access. If the user’s role does not correspond to the content, the system should force a logout and redirect the user to the login page. Specifically, when a CRM admin accesses Rocken Talent, the user should be logged out and redirected to the login page instead of seeing the empty content on home page:
Additionally, a toast message should be displayed informing the user of the forced logout.
User story
As a CRM admin user,
I want to be logged out and redirected to the login page if I try to access Rocken Talent with an invalid role,
so that I can log in with the correct role to access the appropriate content.
RT-6670
–
Получение подробных данных проблемы…
СТАТУС
Visual design:
|
# |
Acceptance Criteria |
|
|---|---|---|
|
01 |
Scenario: Detect Invalid Role Access |
|
|
02 |
Scenario: Display Toast Message on Forced Logout |
|
|
03 |
Scenario: Role-Based Redirect to Login Page |


Leave a Reply
You must be logged in to post a comment.