- if (!CRM_Core_Permission::check('edit contributions')) {
- if ($this->_subscriptionDetails->contact_id != $this->getContactID()) {
- CRM_Core_Error::statusBounce(ts('You do not have permission to update subscription.'));
- }
- $this->_selfService = TRUE;
- }
- $this->assign('self_service', $this->_selfService);