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

:ambulance: fix(opsi): Added missing departement browsing and base fields

Added departement browsing and base fields in OPSI management,
 OPSI profile and OPSI software list.

closes #5681
/spend 30m
Showing with 4 additions and 2 deletions
+4 -2
......@@ -85,6 +85,7 @@ class opsiProfile extends simplePlugin
'main' => array(
'name' => _('Name'),
'attrs' => array(
new BaseSelectorAttribute(get_ou('opsiRDN')),
new SubmittingOPSIServerAttribute(
_('OPSI server'), _('OPSI server to use for deployment'),
'fdOpsiServerDN', TRUE
......
......@@ -22,9 +22,9 @@ class opsiManagement extends simpleManagement
{
protected $objectTypes = array('opsiProfile', 'opsiSoftwareList');
protected $departmentBrowser = FALSE;
protected $departmentBrowser = TRUE;
protected $departmentRootVisible = FALSE;
protected $baseMode = FALSE;
protected $baseMode = TRUE;
/* Return plugin information for acl handling */
static function plInfo()
......
......@@ -50,6 +50,7 @@ class opsiSoftwareList extends simplePlugin
'main' => array(
'name' => _('Infos'),
'attrs' => array(
new BaseSelectorAttribute(get_ou('opsiRDN')),
new SubmittingOPSIServerAttribute(
_('OPSI server'), _('OPSI server to use for deployment'),
'fdOpsiServerDN', TRUE
......
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