Adding Attachments to past visits

Do openmrs have some module by which we can restrict user to edit previous date or only give some user to have previalage to add reports on past visits