summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b49a64d)
raw | patch | inline | side by side (parent: b49a64d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:14:33 +0000 (07:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:14:33 +0000 (07:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5314 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index cf00e07b52b6d76fbf08c97edb1ce0d00fd55cab..a18a27e08131fcafe62194b3f2e8f22a08221084 100644 (file)
$smarty->assign($name."ACL",$this->getacl($name));
}
- $smarty->assign("baseACL", $this->getacl("base"));
-
/* Do we represent a valid group? */
if (!$this->is_account && $this->parent == NULL){
$display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\"> <b>".
if($this->dialog->isClosed()){
$this->dialog = false;
}elseif($this->dialog->isSelected()){
-
+
+ /* Just allow selection valid bases */
$tmp = $this->get_allowed_bases();
if(isset($tmp[$this->dialog->isSelected()])){
$this->base = $this->dialog->isSelected();
$this->set_acl_base($this->base);
}
- /* Check acls to create a new application here */
- $ui= get_userinfo();
- if (!$this->acl_is_createable() && $this->dn == "new"){
- $message[]= _("You have no permissions to create a application on this 'Base'.");
- }
-
/* All required fields are set? */
if ($this->cn == ""){
$message[]= _("Required field 'Name' is not filled.");