From 00eaf5bcc0ba9e3878ff8f67f7be7b08076125bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20De=CC=81le=CC=80ze?= Date: Fri, 12 Jun 2020 14:35:39 +0200 Subject: [PATCH] users: limit to only one role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Limits users to only one role. * Closes #241. Co-Authored-by: Sébastien Délèze --- sonar/modules/users/jsonschemas/users/user-v1.0.0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar/modules/users/jsonschemas/users/user-v1.0.0.json b/sonar/modules/users/jsonschemas/users/user-v1.0.0.json index e183bd2d..55b172aa 100644 --- a/sonar/modules/users/jsonschemas/users/user-v1.0.0.json +++ b/sonar/modules/users/jsonschemas/users/user-v1.0.0.json @@ -90,7 +90,7 @@ "type": "array", "uniqueItems": true, "minItems": 1, - "maxItems": 4, + "maxItems": 1, "items": { "type": "string", "enum": [