From e178b260a85a1c3ede0f0caf7ba096a8f2234b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Hru=C5=A1ka?= Date: Wed, 25 Sep 2024 10:41:51 +0200 Subject: [PATCH 1/3] enable credentials custom data editing --- seacatauth/credentials/schemas.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/seacatauth/credentials/schemas.py b/seacatauth/credentials/schemas.py index 3ae26560..64680f57 100644 --- a/seacatauth/credentials/schemas.py +++ b/seacatauth/credentials/schemas.py @@ -26,14 +26,14 @@ "data": { "type": "object", "description": "Custom data", - # "patternProperties": { - # "^[a-zA-Z][a-zA-Z0-9_-]{0,126}[a-zA-Z0-9]$": {"anyOf": [ - # {"type": "string"}, - # {"type": "number"}, - # {"type": "boolean"}, - # {"type": "null"}, - # ]} - # }, + "patternProperties": { + "^[a-zA-Z][a-zA-Z0-9_-]{0,126}[a-zA-Z0-9]$": {"anyOf": [ + {"type": "string"}, + {"type": "number"}, + {"type": "boolean"}, + {"type": "null"}, + ]} + }, "additionalProperties": False, }, "suspended": { From 8274abce80a90167a3063bf9c758e91619c141a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Hru=C5=A1ka?= Date: Wed, 25 Sep 2024 11:03:09 +0200 Subject: [PATCH 2/3] update CHANGELOG.md --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec1aaeb2..c4ad821e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG +## v24.39 + +### Pre-releases +- v24.39-alpha1 + +### Fix +- Fix credentials custom data editing (#424, `v24.39-alpha1`) + +--- + + ## v24.36 ### Pre-releases From be32909803c87994d32c1a5a5fc6dc8fa6db9298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Hru=C5=A1ka?= Date: Wed, 25 Sep 2024 11:04:07 +0200 Subject: [PATCH 3/3] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4ad821e..a40b3a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ## v24.36 ### Pre-releases +- v24.36-beta - v24.36-alpha5 - v24.36-alpha4 - v24.36-alpha3