Sometimes updating Admin user (role:sys admin) loses all the rights as sys admin
Working around with the system admin made him totally lose the permissions of access in the organizations. This happened only once and couldn't reproduce anymore
Expected behaviour
if I remove system admin from one organization or book team, admin should not lose all rights in the system
Steps to reproduce
- Make system admin (even the default admin user) admin for one organization
- Go to the organization and remove it from the list of admins
- Admin user will no longer have any rights (the object for user I get in the front-end is isSysAdmin: false)
Environment
locally