You are not logged in.
Hello.
I delete link to entity from one particular user account and this account just disappear everywhere, but glpi_users table within database. I cannot see its account through web interface. What should i do? Just delete corresponding database record?
GLPI 9.4.3
Thx
UPD. Funny thing. If i create user account with GLPI internal authorization without any profile, that account not shows in users list. If i open page with direct link like %sitename%front/user.form.php?id=72, i get "You don't have permission to perform this action". Even if i am working under glpi account. Is that a bug?
But, i still can resynchronize LDAP imported users, with internal users i can do nothing just because i cannot see them
UPD2. I can see this account via debug mode. How can i make glpi show this users in regular mode?
Another question. Somehow i got one of my entities be at level 1 with root entity. So i cannot see this entity, but it exists at table glpi_entities. I got some items linked to it, so i need this entity. How can i recover it?
UPD3. I guess two of this problems are connected. This is how i see it: somehow (i think i moght be connected to transfer issues) i got second root entity (which is hidden) and it becomes default. When i create user without profile, this account belongs to default profile, so i cant see user account as well. Any way i can change level of this troublesome entity?
Last edited by admintmt (2019-09-30 10:10:07)
Offline
Hello.
I delete link to entity from one particular user account and this account just disappear everywhere, but glpi_users table within database. I cannot see its account through web interface. What should i do? Just delete corresponding database record?
GLPI 9.4.3
Thx
UPD. Funny thing. If i create user account with GLPI internal authorization without any profile, that account not shows in users list. If i open page with direct link like %sitename%front/user.form.php?id=72, i get "You don't have permission to perform this action". Even if i am working under glpi account. Is that a bug?
But, i still can resynchronize LDAP imported users, with internal users i can do nothing just because i cannot see them
About it I think you need to associate a profile to a user. If not, GLPI cannot understand that this user can be access what.. even the user has been created, have a dependency of what profile type remains.
UPD2. I can see this account via debug mode. How can i make glpi show this users in regular mode?
So is that I've say above. However, look at your rules of import users to assign an entity. It must have a setup active to your users.
Another question. Somehow i got one of my entities be at level 1 with root entity. So i cannot see this entity, but it exists at table glpi_entities. I got some items linked to it, so i need this entity. How can i recover it?
When you have too many entities, it be showed in the top scrren right side, have a icon "+", if a entity not recursive, cannot view content of another entities. If a child entity aren't recursive, she caanot view any content of the above entities. Can be confusing initially work with many entities, it must have much attention.
UPD3. I guess two of this problems are connected. This is how i see it: somehow (i think i moght be connected to transfer issues) i got second root entity (which is hidden) and it becomes default. When i create user without profile, this account belongs to default profile, so i cant see user account as well. Any way i can change level of this troublesome entity?
Look your import user rules. Let the default entity active and recursive ( be careful at change name)
Offline
I guess you don't understand my problem. When you add user account without any profile, it must show up in users list with empty profile column. If I'm not mistaken, users account without profile shouldn't disappear without any trace except database record. Well, i kinda got the root of problem.
HEre is some steps to reproduce.
- Create entity A under root
- Do the transfer of entity A to entity A (you can do it by choosing entity in transfer action form)
- During this step i guess entity A becomes child of its own and shows at the same level as root
- Then you try to create user account without any profile and account disappears
At first i thought it is some browser cache problem, but i manage to reproduce this behavior at several different PC
Please, confirm, could you do this or not. Be careful, backup you db. I've ended up restoring DB
Last edited by admintmt (2019-10-01 08:29:15)
Offline
Hi
If I'd be forced to bet - I'd say the reason lies somewhere in this circular reference - some of the automation scripts may dislike it, and that may affect the users. I only have prod and test environments handy, so I'd rather refrain from creating such unstable conditions, but I believe the reason for all this is this "child of its own" structure. Obvious question - shouldn't that (transferring an entity to itself) be blocked in the first place (as I can't forsee any use for it)?
Bests,
Michal
Offline
Hi, friend,
The same problem happened to me, but in my case my users were not disassociated from the entity but from the self-service profile, and exactly the same thing happened to you.
maybe you managed to solve it???
thank you.
Offline