benefits: Don't allow non-members to access benefits page.
authorDavid Thompson <davet@gnu.org>
Thu, 6 Nov 2014 21:22:34 +0000 (16:22 -0500)
committerDavid Thompson <davet@gnu.org>
Thu, 6 Nov 2014 21:26:20 +0000 (16:26 -0500)
* CRM/Memberdashboard/Page/Benefits.php (CRM_Memberdashboard_Page_Benefits)
  [hasValidMembership]: New method.
  [postProcess]: Restrict POST actions to members only.
  [run]: Pass 'hasValidMembership' variable to smarty template.
* templates/CRM/Memberdashboard/Page/Benefits.tpl: Display an access
  denied page if the user is a non-member.


No differences found