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