summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cfe4c5b)
raw | patch | inline | side by side (parent: cfe4c5b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Oct 2009 10:18:58 +0000 (10:18 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Oct 2009 10:18:58 +0000 (10:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14568 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 661eea5ca19a227af906572a468fc09995b68eb9..967e0d0aa3118b9559d5ad65032288b25ad4ab4b 100644 (file)
// Instanciate SSH object if available
if (isset($class_mapping["sshPublicKey"])){
+ if (empty($this->acl_base)){
+ $this->acl_base= $config->current['BASE'];
+ }
+
$this->sshAcl= $this->getacl("sshPublicKey");
$this->ssh= new sshPublicKey($this->config, $this->dn, $this->sshAcl);
}
/* In 'MyAccount' mode, we must remove write acls if we are not in editing mode. */
$SkipWrite = (!isset($this->parent) || !$this->parent) && !session::is_set('edit');
- $smarty->assign("sshPublicKeyACL", $this->getacl("sshPublicKey"));
+ $smarty->assign("sshPublicKeyACL", $this->getacl("sshPublicKey", $SkipWrite));
/* Depending on pwmode, currently hardcoded because there are no other methods */
if ( 1 == 1 ){