Fix acces check for metadata in frontend