protected $alias = 'customer';
/**
* {@inheritdoc}
*/
public function deleteAction() { if (!
$this->
_isAllowed('delete', 'customer'
)) { throw new Enlight_Controller_Exception('You do not have sufficient rights to delete a customer.', 401
);
} parent::
deleteAction();
} /**
* {@inheritdoc}
*/
public function save($data) { if (!
$this->
_isAllowed('save', 'customer'
)) { throw new Enlight_Controller_Exception('You do not have sufficient rights to update a customer.', 401
);
}