Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r640 - registry/trunk/app/Controller

Subject: COmanage Developers List

List archive

[comanage-dev] r640 - registry/trunk/app/Controller


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r640 - registry/trunk/app/Controller
  • Date: Thu, 12 Dec 2013 00:13:45 -0500

Author: benno
Date: 2013-12-12 00:13:40 -0500 (Thu, 12 Dec 2013)
New Revision: 640

Modified:
registry/trunk/app/Controller/NamesController.php
Log:
Fix NamesController authorization (CO-738)

Modified: registry/trunk/app/Controller/NamesController.php
===================================================================
--- registry/trunk/app/Controller/NamesController.php 2013-12-12 04:34:15
UTC (rev 639)
+++ registry/trunk/app/Controller/NamesController.php 2013-12-12 05:13:40
UTC (rev 640)
@@ -191,7 +191,7 @@
// look up $this->request->params['pass'][0] and find the
appropriate co person id or org identity id
// then pass that to $this->Role->isXXX
$args = array();
- $args['conditions']['EmailAddress.id'] =
$this->request->params['pass'][0];
+ $args['conditions']['Name.id'] = $this->request->params['pass'][0];
$args['contain'] = false;

$name = $this->Name->find('first', $args);



  • [comanage-dev] r640 - registry/trunk/app/Controller, svnlog, 12/12/2013

Archive powered by MHonArc 2.6.16.

Top of Page