summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8d018c)
raw | patch | inline | side by side (parent: d8d018c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 09:11:25 +0000 (09:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 09:11:25 +0000 (09:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5530 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/acl_definition.inc | patch | blob | history | |
plugins/gofax/faxaccount/class_gofaxAccount.inc | patch | blob | history |
index 736f41446cb495160e43cab22776446ec4c6290c..19e7305f50c1b898027a482e1a4a945db6738aa0 100644 (file)
$ACLD['systems'] =array("systems" );
$ACLD['FAIclass'] =array("FAIclass" );
-$ACLD['phoneAccount'] = array("create","goFonDeliveryMode",
+$ACLD['phoneAccount'] = array("create","goFonDeliveryMode","goFonHomeServer",
"goFonHardware","goFonPIN","goFonVoicemailPIN","telephoneNumber", "goFonMacro");
$ACLD['nagiosAccount'] = array("NagiosAlias"
diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc
index 2984ce068f58caf3672970aaf2d72f7dc4e6e381..ea68073ee3c2c1ba14557247b2c5f3d200e118fc 100644 (file)
var $departments;
/* Fax attributes */
- var $goFaxDeliveryMode= "";
+ var $goFaxDeliveryMode= "0";
var $facsimileTelephoneNumber= "";
var $goFaxIsEnabled= 1;
var $goFaxPrinter= "";
"regex" => "");
register_global("faxfilter", $faxfilter);
}
+ $this->ui = get_userinfo();
}
function execute()
{
/* Call parent execute */
plugin::execute();
+
+
+ $acl= get_permissions ($this->ui->dn, $this->ui->subtreeACL);
+ $editacl= get_module_permission($acl, "gofax", $this->dn);
+ $this->acl = $editacl;
+
/* Hickert : 11.11.05
* Added to be able to handle department selection in divSelelect
*/