database with rights