Project

General

Profile

Bug #6654

no validation when updating fallbacks (user, group)

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

Status:
Resolved
Priority:
Normal
Category:
REST API
Target version:
Security issue:
No
In versions:
<= 17.06
Read documentation?:
No

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 12 months ago

  • Status changed from New to Code review

#2 Updated by Pascal Cadotte-Michaud 12 months ago

  • Status changed from Code review to Resolved

Also available in: Atom PDF