这是indexloc提供的服务,不要输入任何密码
Skip to content

Require a Tanam User Role to Access the CMS #392

@DennisAlund

Description

@DennisAlund

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:

  1. Role Validation:

    • Check if the user has any Tanam role in their custom claims.
  2. Access Denied Handling:

    • Redirect the user to an "Access Denied" error page if they do not have the required claim.
  3. 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

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions