Use utils.getIndexOfObject to get friend permissions