Fix general users not being able to edit themselves

What does this MR do and why?

  • Fix type comparison issue where user ID comparison would always return false (comparing string to int).
  • Fix general users not being able to edit themselves.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Create a general user account
  2. Log into general user account
  3. Try to change any user account settings

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Iain Powrie

Merge request reports

Loading