Topic: Multiple entities / single user

Hi there

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

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



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

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : CentOS 6.5 - PHP 5.5.25 -  GLPI 0.90 SVN

3 (edited by Hamie 2013-12-30 17:00: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 ?



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


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 ?