You are not logged in.
Pages: 1
Hello There,
I have accidentally deleted user profile named Customer, This caused me a lot of issues where all the users that had Customer as profile have disappeared.
when i tried to re-add users i got an error that they already exist, but i can't find those users anywhere (searched in trash bin / all entities)
I believe the only solution is to restore the User Profile but i have no idea how to do that, please assist
GLPI VERSION: 10.0.5
My Profile is a super-admin profile
Offline
When you delete a profile the users are not deleted, but they wouldn't have an entity anymore if that was the only profile. You should be able to see them in the user list though as long as you are currently viewing the root entity in "tree/recursive mode" to be viewing all entities. Even if you cannot view them, you should be able to configure your Authorization Assignment Rule(s) in Administration > Rules to ensure a valid profile gets automatically re-assigned the next time those users try to log in.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Yes, those users were only on the profile I have deleted, the problem is that playing with rules won't work because those users were created but with no passwords because they are not meant to login so they will never login, I still can't view them on the user list, I'm trying now giving authorization of my user to be super-admin recursive mode but I think the effect doesn't happen right away, I can recall that when I deleted the user profile I could still see the users the same day but on the next day they were disappeared, also note that I have only one entity which is the root entity, if you could guide me how to root entity in recursive mode that would be great !
Offline
I'd first suggest updating to the latest 10.0.X in case there is a bug here that has already been fixed.
If there is only one entity, then you shouldn't need to do anything extra. In the top right of the interface you can see your current entity and if you are viewing child entities (tree mode). You can click that area to open the user menu and then click on the entity name to open the entity switcher. Clicking the name of an entity in the switcher will let you view just that one entity, while clicking the double down arrows to the right of the name will let you view the entity and all of its children entities. I would suggest making sure your own super-admin profile assignment is done at the root entity and recursive just in case there is another entity but you just cannot see it (or check with the default glpi account if it still exists as it had the super-admin profile already assigned like that).
Nothing should take time to take effect related to this. Is it possible the change was only seen after logging out and back in?
If you have access, you can also check the database directly for the presence of other entities (glpi_entities) and check the state of the users (glpi_users), but I don't recommend adding any data directly this way.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
There is a bug related to this issue 100% , i have followed all your guidelines and i have made sure i am viewing all entities and my super-admin is on recursive (root entity) mode but i still can't view the user list, i have also logged in with the glpi account and still can't view the user list with deleted profile, i even checked the tickets that those users were assigned to and when i press on the user it says i don't have permission to perform this action. unfortunately, i don't have direct access to the DB to check the state of the users or to restore the deleted profile.
I don't think we can update to the latest version as this is a customized glpi, i think by updating customization will have to be done all over again ?
Anyways, thanks a lot for taking the time to help me, i will have to refer back to the developer as my last resort.
Offline
What do you mean by customized? Like custom styles and/or plugins, or actually modifying the GLPI source code?
If the latter, that makes troubleshooting more difficult as I wouldn't know what had been changed. If the modifications were done via plugins, then you should disable them (not uninstall) and see if that resolves the issue.
If there were style changes and they were done through the UI Customization tab on the entity form, or are in a custom palette/theme file, they will still work after the upgrade.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Pages: 1