Skip to content

Group name doesn't validate against the regex when updating  #11083

@AnuradhaSK

Description

@AnuradhaSK

Describe the issue:

  1. Group display name updating via console doesn't validate the regex
  • Can update a group name with space
    Fix: UI validation
  1. Group display name updating via SCIM /Groups endpoint doesn't validate against the regex
  • update group name test1 to test 1 doesn't throw an error. Update without any error
  • update group name test 1 to test 123 throw an error as test 1 doesn't match with the regex (It validates the old name)
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "30011 - InvalidRole Role name test 1 is not valid. Role name must be a non null string with following format, [a-zA-Z0-9._\\-|//]{3,30}$",
    "status": "500"
}

Fix: Userstore level validation

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: IS 5.12.0-m7
  • OS: Linux
  • Database: H2
  • Userstore: LDAP

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions