Adding permissions checking in order to add checkbox for actions in those items loaded by ajax