so to distinguish who can index the different kinds of users the code must be?

can :index, User, User.staff?