Revert "links between resources"

This reverts commit 7937285c6083914079ab1b8e99382048b86c06ef.
Revert "- new permission: transfer_resourcebase"

This reverts commit 5f19edd75068975a5069e3d7735a1eb2f1d0223c.
fix upload for monitors and layers
new filters for layers: public, owned by me and shared with me