Redo of corpRoles functions, Made index items role based