JC: changed resource in has_action_right? to format for ex, 'customerx/sales_lead' from 'customerx_sales_lead'