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

Fixes: #1922 Added foreignKeys in departments

parent c0f06f2a
......@@ -37,6 +37,9 @@ class country extends department
'tabClass' => 'deptabs',
'mainAttr' => self::$namingAttr,
)),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
......@@ -38,6 +38,9 @@ class dcObject extends department
'tabClass' => 'deptabs',
'mainAttr' => self::$namingAttr,
)),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
......@@ -45,6 +45,9 @@ class department extends simplePlugin
'mainAttr' => self::$namingAttr,
)
),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
......@@ -38,6 +38,9 @@ class domain extends department
'tabClass' => 'deptabs',
'mainAttr' => self::$namingAttr,
)),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
......@@ -38,6 +38,9 @@ class locality extends department
'tabClass' => 'deptabs',
'mainAttr' => self::$namingAttr,
)),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
......@@ -38,6 +38,9 @@ class organization extends department
'tabClass' => 'deptabs',
'mainAttr' => self::$namingAttr,
)),
'plForeignKeys' => array(
'manager' => 'user'
),
'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
......
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