You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-12-24 17:24:01

Hamie
Member
Registered: 2011-10-04
Posts: 17

Multiple entities / single user

Hi there

Is it possible to assign multiple entities to a single user?

Example:
My categories have entities 8
But my projects (plugin project mgmt) are dedicated to it's own entity.
Is it possible to combine those 2 entities in the user profiles ( or multiple records) so that my user can see the categories when creating a ticket and only be able to see it's own project?

Many thanks in advance

Stijn

Offline

#2 2013-12-27 10:20:21

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Multiple entities / single user

You can assign the number of different entities you want for a same user.
He will select wanted entity by clicking on the list on the menu header of glpi


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2013-12-30 10:23:08

Hamie
Member
Registered: 2011-10-04
Posts: 17

Re: Multiple entities / single user

It just doesn't seem to work for me.

In the GUI I only can assign one entity. The second one won't appear.
When I try to write directly to the table (glpi_profiles_users) I get the following error
"1062 - Duplicate entry '4541' for key 'users_id'

The second row is what I try to add

id          users_id      profiles_id     entities_id      is_recursive     is_dynamic
9041       4541           21                85                 0                   0
(NULL)     4541           18                9                  1                   0

any suggestions ?

regards
Stijn

Last edited by Hamie (2013-12-30 17:00:17)

Offline

#4 2013-12-30 15:38:50

MEI-IT
Member
From: Evansville, Indiana, USA
Registered: 2013-08-08
Posts: 104

Re: Multiple entities / single user

This may or may not be your problem, but I believe I remember experiencing a similar issue. Ensure your Super Admin has recursive rights set from your root entity. This *should* allow you to assign multiple entities.


GLPI v0.84.6 - Ubuntu 12.04 - PHP 5.3.10-1 - Apache 2.2.22 - MySQL 5.5.37
~100 users - ~120 PCs - ~80 servers

Offline

#5 2013-12-30 17:08:35

Hamie
Member
Registered: 2011-10-04
Posts: 17

Re: Multiple entities / single user

Hi there

Thank you very much for the feedback. i've tried it but my super-admin user (myself) has recursive (root) rights ...

any other suggestions ?
:-)

Grtz
Stijn

Offline

Board footer

Powered by FluxBB