Skip to content

Group name is too restricted #208

@ivan-gomes

Description

@ivan-gomes

Currently only word characters, e.g. letters in the alphabet and numbers, and hyphens are allowed in a group's name.

https://github.com/Open-MBEE/mms/blob/3b4c6c53e5f8ea04e93be7e52ef2c87cec0e8141/groups/src/main/java/org/openmbee/mms/groups/services/GroupValidationService.java#L16

Given that MMS groups are intended to integrate with pre-existing groups defined externally in an enterprise, e.g. LDAP groups, this is overly prescriptive as often one does not have control over the enterprise's naming conventions. A practical example of this is when there are spaces in an existing group name, e.g. Internal Users, which is currently rejected by MMS.

My proposal is to widen the limitation to all printable characters - regex [ -~], i.e. all characters between space and tilde.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions