Issue #1023: Reimplement the patient access restrictions as AuthorizationModules
Added an implementation for collaborators