keeleinstituut / tv-tolkevarav

Tõlkevärav (Translation Hub)
1 stars 0 forks source link

User's personal data privileges (BE) #657

Closed MariusJulius closed 5 months ago

MariusJulius commented 7 months ago

Navigate to "Minu andmed" view wiki Users cannot edit their data without edit_user privilege. According to wiki, user doesn't need any privilege to edit their own data.

This can cause problems if all users have edit_user privilege.

FE part will be done in this task, but we need a task for BE as well. Currently BE won't allow the editing of user's own details without the edit_user privilege.

Originally posted by @KaarelKa in https://github.com/keeleinstituut/tv-tolkevarav/issues/482#issuecomment-1855528225

To-do:

kadmit commented 5 months ago

@KaarelKa, it looks like FE uses the wrong endpoint. The correct endpoint is https://api.dev.tolkevarav.eki.ee/authorization/api/documentation#/default/9e1a5e4d58ecf049633f42a7d60f1b6c

MariusJulius commented 5 months ago

@KaarelKa can I close the BE ticket and you can do the fix in #482 ?

KaarelKa commented 5 months ago

@MariusJulius yeah, sounds good

MariusJulius commented 5 months ago

Marking as closed, action needed in #482 FE ticket.