You are not logged in.
Pages: 1
Topic closed
Hi,
I noticed that if you add a new user you can't insert the password because the field is missing.
Previous version of GLPI (0.72) correctly showed this field.
Passero
Offline
Yes...
For security goal, a user cannot change the password of another user if it have less right.
Rights are not know during creation (because, mostly affected by rules) so password is not editable.
You need to modifiy the user after its creation.
I have try a change which allow password input for a user which have more rights than everybody (super-admin).
SVN change : https://forge.indepnet.net/repositories … i?rev=8736 (can't be applied on 0.72)
Can you test it with 0.72 ?
You only have to change (file inc/profile.class.php, ligne 195)
From
if (count($IDs)==0) {
return false;
}
To :
if (count($IDs)==0) {
// Check all profiles (means more right than all possible profiles)
return (countElementsInTable($this->table)
== countElementsInTable($this->table, $this->getUnderProfileRetrictRequest('')));
// return false;
}
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Tested on 0.72.1 and it works perfectly!
Thank you.
Passero
Offline
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Pages: 1
Topic closed