glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Fix(User): fix default group / profile / entity security

Open stonebuzz opened this issue 1 year ago • 1 comments

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

stonebuzz avatar Apr 03 '24 07:04 stonebuzz

        if (
            isset($this->fields['_ruleright_process'])
            || isset($this->input['_ruleright_process'])
        ) {

(note this condition has been changed in bugfixes branch recently)

trasher avatar Apr 04 '24 09:04 trasher