[icinga-checkins] icinga.org: icinga-web/feature/datapermissions-wip: Disabled credential Aggregator on login
git at icinga.org
git at icinga.org
Tue Feb 19 17:23:58 CET 2013
Module: icinga-web
Branch: feature/datapermissions-wip
Commit: e68de0031665c82545ec509cdfb76be153049fc5
URL: https://git.icinga.org/?p=icinga-web.git;a=commit;h=e68de0031665c82545ec509cdfb76be153049fc5
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Thu Feb 14 16:24:57 2013 +0100
Disabled credential Aggregator on login
---
.../AppKit/lib/auth/AppKitSecurityUser.class.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php b/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
index 09b0dc3..cc1800f 100644
--- a/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
+++ b/app/modules/AppKit/lib/auth/AppKitSecurityUser.class.php
@@ -71,7 +71,8 @@ class AppKitSecurityUser extends AgaviRbacSecurityUser {
/**
* @var AppKit_Credential_AggregatorModel
*/
- private $credentialAggregator = null;
+ // disabled credentialAggregator due to slow performance
+ //private $credentialAggregator = null;
/**
* Initialize the user object
@@ -81,10 +82,13 @@ class AppKitSecurityUser extends AgaviRbacSecurityUser {
public function initialize(AgaviContext $context, array $parameters = array()) {
parent::initialize($context, $parameters);
+
+ /* Disabled due to performance issues in big environments
$this->credentialAggregator = $this->getContext()
->getModel('Credential.Aggregator', 'AppKit');
$this->credentialAggregator->getObjectIds();
+ */
}
/**
More information about the icinga-checkins
mailing list