To have a database in which only teachers can add entries, but students can view the entries.
- Go to databse.
- Then click on Permissions link in the settings under Database activity administration.
- Remove students from the capability 'Write Entries' mod/data:writeentry by clicking the 'X' next to student.
- Click the continue button to confirm.