CRM-13889 - api_v3_DashboardContact - Fix validation
authorTim Otten <totten@civicrm.org>
Tue, 4 Feb 2014 23:02:51 +0000 (15:02 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 4 Feb 2014 23:02:51 +0000 (15:02 -0800)
commitee117e9c6e3e870da617844e9060cdbce81fb0ec
treec3d7aef625e1c0c4cbb418fdb90d77e3a570c461
parent2f0649a6757364b25babf834935841f280f8d2d7
CRM-13889 - api_v3_DashboardContact - Fix validation

The validation of dashboard_id implicitly involved a permission-check. This
permission-check would be wrong in some cases (eg running a drush script
without any particular user), but it could be right in other cases (eg
issuing an AJAX call).
CRM/Core/BAO/Dashboard.php
api/v3/DashboardContact.php