comanage-dev - [comanage-dev] r492 - in registry/trunk/app: Config Controller Plugin/ChangelogProvisioner/Model View/CmpEnrollmentConfigurations
Subject: COmanage Developers List
List archive
[comanage-dev] r492 - in registry/trunk/app: Config Controller Plugin/ChangelogProvisioner/Model View/CmpEnrollmentConfigurations
Chronological Thread
- From:
- To:
- Subject: [comanage-dev] r492 - in registry/trunk/app: Config Controller Plugin/ChangelogProvisioner/Model View/CmpEnrollmentConfigurations
- Date: Fri, 12 Apr 2013 09:22:30 -0400
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: benno
Date: 2013-04-12 09:22:30 -0400 (Fri, 12 Apr 2013)
New Revision: 492
Modified:
registry/trunk/app/Config/core.php
registry/trunk/app/Controller/AppController.php
registry/trunk/app/Plugin/ChangelogProvisioner/Model/ChangelogProvisioner.php
registry/trunk/app/View/CmpEnrollmentConfigurations/fields.inc
Log:
Whitelist invitation replies from ID verification (CO-592)
Modified: registry/trunk/app/Config/core.php
===================================================================
--- registry/trunk/app/Config/core.php 2013-04-11 22:38:53 UTC (rev 491)
+++ registry/trunk/app/Config/core.php 2013-04-12 13:22:30 UTC (rev 492)
@@ -32,7 +32,8 @@
* In production mode, flash messages redirect after a time interval.
* In development mode, you need to click the flash message to continue.
*/
- Configure::write('debug', 0);
+// Configure::write('debug', 0);
+ Configure::write('debug', 2);
/**
* Configure the Error handler used to handle errors for your application.
By default
Modified: registry/trunk/app/Controller/AppController.php
===================================================================
--- registry/trunk/app/Controller/AppController.php 2013-04-11 22:38:53
UTC (rev 491)
+++ registry/trunk/app/Controller/AppController.php 2013-04-12 13:22:30
UTC (rev 492)
@@ -1346,7 +1346,10 @@
}
// Specifically whitelist the actions we ignore
- if(!$this->action != 'index' && $this->action != 'add') {
+ if(!$this->action != 'index'
+ && $this->action != 'add'
+ && !($this->modelClass == 'CoInvite'
+ && ($this->action == 'confirm' || $this->action == 'decline'))) {
// Only act if a record ID parameter was passed
if(!empty($this->request->params['pass'][0])) {
$modelName = $this->modelClass;
Modified:
registry/trunk/app/Plugin/ChangelogProvisioner/Model/ChangelogProvisioner.php
===================================================================
---
registry/trunk/app/Plugin/ChangelogProvisioner/Model/ChangelogProvisioner.php
2013-04-11 22:38:53 UTC (rev 491)
+++
registry/trunk/app/Plugin/ChangelogProvisioner/Model/ChangelogProvisioner.php
2013-04-12 13:22:30 UTC (rev 492)
@@ -25,7 +25,7 @@
class ChangelogProvisioner extends AppModel {
// Required by COmanage Plugins
// To enable this plugin, change the plugin type to "provisioner"
- public $cmPluginType = "disabled-provisioner";
+ public $cmPluginType = "provisioner";
// Expose Menu Items
public $cmPluginMenus = array();
Modified: registry/trunk/app/View/CmpEnrollmentConfigurations/fields.inc
===================================================================
--- registry/trunk/app/View/CmpEnrollmentConfigurations/fields.inc
2013-04-11 22:38:53 UTC (rev 491)
+++ registry/trunk/app/View/CmpEnrollmentConfigurations/fields.inc
2013-04-12 13:22:30 UTC (rev 492)
@@ -69,6 +69,7 @@
{
// Enable or disable gadgets according to current state
+// XXX clean this up
// Treat self_enroll values as a set
document.getElementById('CmpEnrollmentConfigurationSelfRequireAuthn').disabled
=
!document.getElementById('CmpEnrollmentConfigurationSelfEnroll').checked;
- [comanage-dev] r492 - in registry/trunk/app: Config Controller Plugin/ChangelogProvisioner/Model View/CmpEnrollmentConfigurations, svnlog, 04/12/2013
Archive powered by MHonArc 2.6.16.