Skip to content

Commit

Permalink
Update role pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostvDoorn committed Oct 17, 2024
1 parent d5f5fc5 commit eede3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/be/cytomine/domain/security/SecRole.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class SecRole extends CytomineDomain implements Serializable {
@NotNull
@NotBlank
@Column(unique = true)
@Pattern(regexp = "^[a-zA-Z0-9\\s]+$")
@Pattern(regexp = "^[a-zA-Z0-9\\s_]+$")
private String authority;

public static JsonObject getDataFromDomain(CytomineDomain domain) {
Expand Down

0 comments on commit eede3f5

Please sign in to comment.