Capabilities/mod/data:writeentry
From MoodleDocs
- This allows a user to add entries to a database activity and edit or delete any entries which they have previously added
- This capability is allowed for the default roles of manager, teacher, non-editing teacher and student