Verified Commit 9e3a5e8a authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:tractor: feat(dsa) Migrate DSA to new management class

issue #5914
Showing with 4 additions and 36 deletions
+4 -36
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2013-2016 FusionDirectory
Copyright (C) 2013-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -18,30 +18,20 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
class dsaManagement extends simpleManagement
class dsaManagement extends management
{
// Tab definition
protected $objectTypes = array('simpleSecurityObject');
protected $departmentBrowser = TRUE;
protected $departmentRootVisible = TRUE;
protected $baseMode = TRUE;
/* Return plugin information for acl handling */
public static function plInfo()
{
return array(
'plShortName' => _('DSA'),
'plDescription' => _('DSA management'),
'plTitle' => _('DSA management'),
'plDescription' => _('Manage simple security objects'),
'plIcon' => 'geticon.php?context=applications&icon=dsa&size=48',
'plSection' => 'accounts',
'plPriority' => 55,
'plCategory' => array('dsa' => array('description' => _('DSA'),
'objectClass' => array('simpleSecurityObject'))),
'plManages' => array('simpleSecurityObject'),
'plProvidedAcls' => array()
);
}
}
?>
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org)
Copyright (C) 2013-2016 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
simpleManagement::mainInc('dsaManagement');
?>
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