Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 702 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 702 Bytes

WebValley 2019 Data Swiffer

Work done by the database team, see AUTHORS file

License is AGPL v. 3 , see LICENSE

Privileges separation

The db-debootstrap.sh script copies the db-privileges.sh to the container and runs it. That script creates two roles, doctor and researcher, and two test users, dr_chierici and beatrice.

The doctor can access the whole plic database. The researcher, instead, can only read the anonimized data.

Database dump

To easily backup your Mongo PLIC database you can simply run db-dump.sh . It will generate a directory under /tmp/mongo/plic with the export. You'll be able to re-import the export with mongorestore.