Hi,

In a plugin you can know which fields were changes by a user.
To know is the user open the session, you have the function Session::getLoginUserID(). And you can check $this->input to view fields changed. So you can change colors of these fields.

Regards,
Yllen

Le 26/10/2015 11:34, wolvverine a écrit :
Hello,
I have a problem.
I need to add in GLPI an option that prevents changes in some fields
by users from a webbrowser.
Or if a user will change such a field manually there would be a
possibility to mark this changed field for example with another
background color.
I think, that in plugins it is not possible, without support in GLPI
(ex. some a new field in database for every manually editable in
webrowser record).


I need to show that
the field has been changed manually by user (person) in webbrowser or
to block the fields that are updated automatically (ex. by
Fusionninventory or rules) so that the user could not been able to
write them

ex. fields for Computer object:

Name
Serial number
Alternate username
Alternate username number
Operating system
Version of the operating system
Service pack
Serial of the operating system
Product ID of the operating system
Update Source
Domain
Network
Model
Type
Manufacturer
User
UUID

_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev


_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to