I found this in the old code that I'm trying to refactor but I have no clue what it means. Can someone explain this rule of code to me?
if (!LibraryName_Feature_Access_RoleHelper::roleHasAccess($plan_code, 'can_subscribe')) {
$this->_redirect('error/404');
}
Thanks in advance!