1

Topic: Disconnect device - missing permissions

I have PC with connected devices. I trasfered PC to another entity without disconnecting devices (devices stays in origin entity). Now if I want to disconnect devices I get "You don't have permission to perform this action."
I have permisiion becasue I`m administrator with rights to all devices and all entities. Where is problem?

I can disconnect devices only if PC and devices are in same entity.

Debian Squeeze  (PHP 5.3.3-7+squeeze3, Apache 2.2.16-6+squeeze3, MySQL: 5.1.49-3) glpi 0.83.91

for testing - Debian Squeeze (PHP 5.3.3, Apache 2.2.16, MySQL: 5.1.49) glpi 0.85SVN

2

Re: Disconnect device - missing permissions

seems like the profile u use doesnt have the permission to alter eqipment in the new entity - just disconnect before transferring.....

GLPI 0.84.3 with FusionInventory on Ubuntu

3

Re: Disconnect device - missing permissions

My profile is super-admin and I have enabled everything.
Where is permision to alter equipment? I can`t find something like this.

I think, that problem is elsewhere not in profile.

Disconnect before transferring is working but it isn`t solution because users periodically transfer without disconnecting devices. Transfer back all devices is not easy.

Debian Squeeze  (PHP 5.3.3-7+squeeze3, Apache 2.2.16-6+squeeze3, MySQL: 5.1.49-3) glpi 0.83.91

for testing - Debian Squeeze (PHP 5.3.3, Apache 2.2.16, MySQL: 5.1.49) glpi 0.85SVN

4

Re: Disconnect device - missing permissions

I have no problem in 0.83 and in 0.84

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 : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Disconnect device - missing permissions

I tested many scenarios. Not working in 0.83. In 0.84 disconnecting is working

Exmaple tested on clean installation 0.83.91 with default user glpi.

Add computer and printer to same entity
Connect them
Transfer printer to entity1
Try to disconnect printer. You get error "You don't have permission to perform this action."

p.s. I found bug. In 0.84.3 not working lower button Action, when you want disconnect device(not open windows with actions). Working only upper button.

Debian Squeeze  (PHP 5.3.3-7+squeeze3, Apache 2.2.16-6+squeeze3, MySQL: 5.1.49-3) glpi 0.83.91

for testing - Debian Squeeze (PHP 5.3.3, Apache 2.2.16, MySQL: 5.1.49) glpi 0.85SVN

6

Re: Disconnect device - missing permissions

My test was made by transferring the item, not the connected item.
By doing that, i confirm the bug https://forge.indepnet.net/issues/4661

I don't understand you PS. Can you explain your actions please ?

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 : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

7

Re: Disconnect device - missing permissions

Sorry for my English

http://2i.sk/f221d0fa29

Look at the picture. Upper button Action works correctly(click on it - new window with massive action is opened), but lower doesn`t (no windows opened).

Lower button doesn`t work on all asset except computer (on computer works both Action buttons)

Debian Squeeze  (PHP 5.3.3-7+squeeze3, Apache 2.2.16-6+squeeze3, MySQL: 5.1.49-3) glpi 0.83.91

for testing - Debian Squeeze (PHP 5.3.3, Apache 2.2.16, MySQL: 5.1.49) glpi 0.85SVN

8

Re: Disconnect device - missing permissions

I confirm the bug : https://forge.indepnet.net/issues/4666

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 : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

9

Re: Disconnect device - missing permissions

Both problems corrected

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 : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)