muccg / angelman

RDRF based software for the Global Angelman Registry
GNU Affero General Public License v3.0
1 stars 0 forks source link

Allow "universal" link to form #312

Closed id2359 closed 5 years ago

id2359 commented 5 years ago

The form link for a given patient on a given form is not something that can be shared as it is tied to the patient

Allow urls like

SITEURL/actions?action=form&form=AngelmanRegistryBehaviourAndDevelopment&registry=ang
id2359 commented 5 years ago

Allowed id

id2359 commented 5 years ago

SITEURL/actions?action=form&form=AngelmanRegistryBehaviourAndDevelopment&registry=ang&id=2 etc

id2359 commented 5 years ago

This only allows the user to browse of they are:

The patient themselves ( registries like MTM) The parent guardian and the supplied id is one of their children or no id is supplied and the first child's record is browsed The user is in the same working group(s) of the patient with that id