We've just started using the Dataform here for a series of activities but are getting very tangled in terms of how to get people to certain views and how to set field permissions. Unfortunately having searched all the documentation so far we're just getting more confused rather than less confused so thought it best to just ask.
We have a series of Dataforms that we want to give different access to different fields in records based on different roles within Moodle.
So people with Student role would get only a few fields to edit on a record, Support staff get a few more fields, Managers get a few more fields etc etc, but everyone enrolled in the course (with any role) can view all the data in all the fields on every entry.
We also need to restrict students and some staff roles from deleting entries, which i think is done via views? However, I can't work out how to get different roles to access different views.
So two things:
- How do we set access to edit individual fields based on their course roles?
- How do we show different views to different users based on their course roles?