Bug #6654

no validation when updating fallbacks (user, group)

Added by François Blackburn 6 months ago. Updated 6 months ago.

Status:Resolved
Priority:Normal
Assignee:François Blackburn
Category:REST API
Target version:17.07
Security issue:No Read documentation?:No
In versions:<= 17.06

Description

Given a user or group
When I update fallbacks via REST API with an invalid ID on my destination
Then return 204 (there are no validation on destination ID)

Expected: return 400

Problem: It's only the old fallbacks which are validated (not on new), so if you enter a bad ID, click on save and try to change the fallback, it will be impossible.

History

#1 Updated by François Blackburn 6 months ago

  • Status changed from New to Code review

#2 Updated by Pascal Cadotte-Michaud 6 months ago

  • Status changed from Code review to Resolved

Also available in: Atom PDF