Skip to content

[BUG] 🐛 Patch modification doesn't update current user object #360

Description

@CChemin

Modification that uses patch (addAttributes method) such as habilitations and simpleAppManagedAttributes updates the user via sugoi api and the updated user is retrieved by sugoi-ui.
However the updated user is not used to update the user that will be posted to the api leading to losing the patch modification after a post modification.

Step to reproduce :

  • add two habilitations on a user (because only one will trigger an api bug that will hide this bug)
  • return to the Main tab
  • click on "Enregistrer les modifications"
  • the added habilitations have been erased

Metadata

Metadata

Assignees

Labels

P1bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions