mlte-team / mlte

An infrastructure for evaluating machine learning models.
http://mlte.rtfd.io/
MIT License
9 stars 3 forks source link

Fix User endpoints for self user #426

Closed sebastian-echeverria closed 2 months ago

sebastian-echeverria commented 2 months ago

Fix handling of endpoints for self user. More specifically:

sebastian-echeverria commented 2 months ago
sebastian-echeverria commented 2 months ago

Current issue editing user is that id is obtained from URL, but in the edit case, the id comes in the body; thus, the write-user permission is incorrectly checked, instead of the write-[miid]-user

sebastian-echeverria commented 2 months ago

Addressed in #434