added permission/role check to database metadata access
added permission/role check to database metadata access

adrpar/daiquiri,aipescience/daiquiri,adrpar/daiquiri,adrpar/daiquiri,adrpar/daiquiri,aipescience/daiquiri,aipescience/daiquiri,jochenklar/daiquiri,aipescience/daiquiri,jochenklar/daiquiri,jochenklar/daiquiri,jochenklar/daiquiri