Commit fd06022e authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3554 Added gidNumber as foreignKey in posixAccount

parent 08e3fe74
......@@ -181,15 +181,18 @@ class posixAccount extends simplePlugin
static function plInfo()
{
return array(
"plShortName" => _("Unix"),
"plDescription" => _("Edit users POSIX settings"),
"plIcon" => 'geticon.php?context=applications&icon=os-linux&size=48',
"plSmallIcon" => 'geticon.php?context=applications&icon=os-linux&size=16',
"plSelfModify" => TRUE,
"plPriority" => 2,
"plObjectType" => array("user"),
"plProvidedAcls" => parent::generatePlProvidedAcls(self::getAttributesInfo())
'plShortName' => _('Unix'),
'plDescription' => _('Edit users POSIX settings'),
'plIcon' => 'geticon.php?context=applications&icon=os-linux&size=48',
'plSmallIcon' => 'geticon.php?context=applications&icon=os-linux&size=16',
'plSelfModify' => TRUE,
'plPriority' => 2,
'plObjectType' => array('user'),
'plForeignKeys' => array(
'gidNumber' => array('group','gidNumber')
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
}
......
Markdown is supported
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