Pass object to isGranted if action is VIEW or EDIT in list identifier