feat(data-provider): allow filtering attributes
Filtering was only done on relations with the resolveRelations
meta property, and this filtering did not even work.
This PR fixes this issue and expands the capabilities of this meta prop as to allow filtering attributes as well.
This greatly helps mitigating permission issues when some attributes cannot be read/edited and should not appear in a form.