Added auth based on link between user and object

Also: users no longer get roles based on shop-level auth: if they have
shop-level auth, they will already have inherited the necessary roles.
Centralised code to create links to backend pages
Created team pages to display linked users

For event: also vendors

Also: added createBackLink function
Changed file names of platform / shop pages