index c6f7912fe89fcf1653183d20c2be165fbd823f7f..e9c646ecb38a96a9893d599298b774aa11473fdb 100644 (file)
/* ObjectClasses for this Object*/
var $objectclasses = array("top","FAIclass","FAIprofile");
- /* Class name of the Ldap ObjectClass for the Sub Object */
- var $subClass = "FAIscriptEntry";
- var $subClasses = array("top","FAIclass","FAIscriptEntry");
-
/* Specific attributes */
var $old_cn = "";
var $cn = ""; // The class name for this object
$use_dn = $this->dn;
}
- prepare_to_save_FAI_object($this->dn,array(),true);
+ prepare_to_save_FAI_object($use_dn,array(),true);
$this->handle_post_events("remove");
}
$this->handle_object_tagging();
show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/profile with dn '%s' failed."),$this->dn));
}
+
+
+ /* Return plugin informations for acl handling */
+ function plInfo()
+ {
+ return (array(
+ "plShortName" => _("Profile"),
+ "plDescription" => _("FAI profile"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 0,
+ "plSection" => array("administration"),
+ "plCategory" => array("fai"),
+ "plProvidedAcls" => array(
+ "cn" => _("Name"),
+ "description" => _("Description"),
+ "FAIclass" => _("FAI classes"))
+ ));
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: