summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d047f0)
raw | patch | inline | side by side (parent: 9d047f0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:16:01 +0000 (07:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:16:01 +0000 (07:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5315 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/mimetypes/class_mimetypeGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc
index 790fa4524c9564e24f45fc534c38fdc3da53b4bf..6541eeb3593e35ba1a1b0555f0fdbf9f1aa43cbb 100644 (file)
$smarty->assign($name."ACL",$this->getacl($name));
}
- /* Assign base ACL */
- $smarty->assign("baseACL", $this->getacl("base"));
-
/* Base select dialog */
$once = true;
foreach($_POST as $name => $value){
}
}
- /* Check permissions for that base? */
- if ($this->base != ""){
- $new_dn= "cn=".$this->cn.",ou=mime,".$this->base;
- } else {
- $new_dn= $this->dn;
- }
-
- /* Set new acl base */
- if($this->dn == "new") {
- $this->set_acl_base($new_dn);
- }
-
- if (!$this->acl_is_createable() && $this->dn == "new"){
- $message[]= _("You have no permissions to create a mime type on this 'Base'.");
- }
-
return($message);
}