Commit d443511b authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core): Use ogroups instead of posix when mixed-group is installed

When mixed-groups is installed, the userGroupSelect dialog should allow
 to select object groups as they can be posix groups as well

issue #5694
Showing with 8 additions and 0 deletions
+8 -0
......@@ -22,6 +22,14 @@ class userGroupSelect extends userSelect
{
protected $objectTypes = array('user', 'group');
protected $autoFilterAttributes = array('dn', 'cn', 'uid', 'description');
function __construct()
{
if (class_available('mixedGroup')) {
$this->objectTypes = array('user', 'ogroup');
}
parent::__construct();
}
}
class userGroupRoleSelect extends userGroupSelect
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment