Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

## Version 25.03.X
Fixes:
- [core] Accept numeric color in saveNote schema so graph note create/edit no longer fails validation

## Version 25.03.44
Security fixes:
- [alerts] Validate alertConfig.selectedApps against caller's permissions (cross-app metric exfiltration)
Expand Down
5 changes: 4 additions & 1 deletion api/parts/mgmt/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,11 @@ usersApi.saveNote = async function(params) {
'type': 'String',
},
'color': {
// Frontend (countly.common.notes.js COLOR_TAGS) sends a numeric
// index 1..5. URL query callers may send "5" as a string.
// Mirror the ts handling — IntegerString accepts both.
'required': true,
'type': 'String'
'type': 'IntegerString'
},
'category': {
'required': false,
Expand Down
Loading