auth search and related
Merge branch 'permissions' of https://github.com/databrary/databrary into permissions