Skip to content

Role " name " should not be exceed 64 characters  #909

@marwa-benhassine

Description

@marwa-benhassine

Describe the bug

  1. The create button cannot be clicked when the role name exceeds 64 characters
  2. When editing the role name, an error message is displayed for labels.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the role page
  2. Click on button create
  3. Click on the Create button.
  4. Click on the Edit button
    5.Change the role name

Expected behavior

  1. When creating a new role with more than 64 characters, a popup should be displayed.
  2. When editing the role name,"Label name cannot be longer than 32 characters" should be replaced with "Role name cannot be longer than 64 characters" in the error message.

Screenshots
If applicable, add screenshots to help explain your problem.

newrole

Role_name.mp4

Desktop (please complete the following information):

OS: Windows

Browser: Chrome/Edge/Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: rolesChanges related to user roles and permissions.type: bugIndicates that the issue or pull request addresses a bug or error.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions