glpi
glpi copied to clipboard
Fix(User): fix default group / profile / entity security
The check on the defaultentity / profile and group does not take account of data after the rules (LDAP / Right)
This PR fix this
| Q | A |
|---|---|
| Bug fix? | yes/no |
| New feature? | yes/no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | !32328 |
if ( isset($this->fields['_ruleright_process']) || isset($this->input['_ruleright_process']) ) {
(note this condition has been changed in bugfixes branch recently)