Function useGetProjectAccessByIdQuery