-
Notifications
You must be signed in to change notification settings - Fork 41
Labels
domain:authSomething related to authSomething related to authplatform:frontendpriority:medium 👍Regular priority issueRegular priority issue
Milestone
Description
Description:
Implement a requirement for users to have a Tanam role in their custom claims to access the CMS. The following tasks need to be accomplished:
-
Role Validation:
- Check if the user has any Tanam role in their custom claims.
-
Access Denied Handling:
- Redirect the user to an "Access Denied" error page if they do not have the required claim.
-
Access Denied Page:
- Create an "Access Denied" error page to inform users they do not have the necessary permissions to access the CMS.
Acceptance Criteria:
- Users without a Tanam role in their custom claims are redirected to the "Access Denied" error page.
- An "Access Denied" error page is created and displays a clear message informing users of the permission issue.
Notes:
- Ensure robust error handling and logging for the role validation and redirection process.
- The "Access Denied" error page should be styled consistently with the rest of the application.
- Documentation should be updated to reflect these changes.
Metadata
Metadata
Assignees
Labels
domain:authSomething related to authSomething related to authplatform:frontendpriority:medium 👍Regular priority issueRegular priority issue
Type
Projects
Status
Done