Skip to content

Commit

Permalink
Merge pull request #424 from TeskaLabs/fix/cred-data-editing
Browse files Browse the repository at this point in the history
Fix credentials custom data editing
  • Loading branch information
byewokko authored Sep 25, 2024
2 parents 2e7bd98 + be32909 commit 1dc29cc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# CHANGELOG

## v24.39

### Pre-releases
- v24.39-alpha1

### Fix
- Fix credentials custom data editing (#424, `v24.39-alpha1`)

---


## v24.36

### Pre-releases
- v24.36-beta
- v24.36-alpha5
- v24.36-alpha4
- v24.36-alpha3
Expand Down
16 changes: 8 additions & 8 deletions seacatauth/credentials/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 1dc29cc

Please sign in to comment.