Fix permissions not showing correctly for patient