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-11-08 13:43:21

odb
Member
From: Slovakia (Slovak Republic)
Registered: 2011-01-22
Posts: 116

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.85.4

Offline

#2 2013-11-08 14:39:53

samcro
Member
From: Munich, Bavaria, Germany
Registered: 2013-04-24
Posts: 216

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.7 with FusionInventory on LAMP 14.04.1 LTS
~150 clients

Offline

#3 2013-11-08 23:00:54

odb
Member
From: Slovakia (Slovak Republic)
Registered: 2011-01-22
Posts: 116

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.85.4

Offline

#4 2013-11-09 12:43:35

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

Re: Disconnect device - missing permissions

I have no problem in 0.83 and in 0.84


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

#5 2013-11-09 22:15:43

odb
Member
From: Slovakia (Slovak Republic)
Registered: 2011-01-22
Posts: 116

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.85.4

Offline

#6 2013-11-12 20:26:39

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

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 ?


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

#7 2013-11-12 22:48:28

odb
Member
From: Slovakia (Slovak Republic)
Registered: 2011-01-22
Posts: 116

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.85.4

Offline

#8 2013-11-15 10:48:43

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

Re: Disconnect device - missing permissions


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

#9 2013-11-15 14:21:32

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

Re: Disconnect device - missing permissions

Both problems corrected


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

Board footer

Powered by FluxBB