FALM-Umbraco-Projects / FALM-Housekeeping-v7

Package for Umbraco 7 - This package create a new custom section with this tools: Umbraco logs manager, Media folder cleanup, Delete users and Version manager
https://our.umbraco.org/projects/backoffice-extensions/falm-housekeeping/
MIT License
8 stars 6 forks source link

Disable checkbox for current user in users manager #52

Closed bjarnef closed 6 years ago

bjarnef commented 6 years ago

In Users Manager it shouldn't be possible to delete your own user. I haven't tried what would happen, but at least i think the checkbox should be disabled for the user currently logged in.

afabri73 commented 6 years ago

Thank you Bjarne for the support, In the users list the administrator and the current user should not appear but, as I see, it partially works. The administrator doesn't appear but the current user is listed. I will have to review the logic and hide the current user from the list.

Adriano

afabri73 commented 6 years ago

Done...I updated the UsersManager to hide Super Admin and current logged user. The new release will include this change. Thank you again for the support Adriano