Refactor permission factory
Refactor permission factory from nested to object to improve performance. There is a need to change the _access
field definition in the mappings.
The cern_search_filter must be adapted. Change from nested
to potentially term
.