Restricting the visibility of the inspection definition with no permission

This modification limits the visibility of the definition list. When the permission 'Other people inspection tickets access' is disabled, now inspections definitions are no longer displayed to people who are not associated with them.