Skip to content

BugFix User permissions | Tweak Change Password/Username

What does this MR do and why?

This changes the way we reset passwords. Users may have problems inadvertently changing passwords/usernames in the current version in the way they are on the front page of the software. This separates it and adds buttons for it on the panel config page.

#286 (closed) Fix bug where everytime a page was loaded user settings would be reset.

Screenshots or screen recordings

image

How to set up and validate locally

  • Give a general user permission to edit users.

  • Log in as that user..permissions will be reset.

  • Keep admin session logged into a different browser than general user.

  • Set edit user permissions for user.

  • Refresh any page on browser 2 with the general user.

  • You will now see on browser 1 when the admin refreshes that user config page they will no longer have permissions to edit users.

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 Andrew

Merge request reports

Loading