Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Dataform building.

Dataform building: Difference between revisions

From MoodleDocs
(Replaced content with "{{Dataform | innertrail = ► Creating an Activity }} ==Building a simple activity== <mediaplayer>http://www.youtube.com/watch?v=Ab9jLl8ZV90</mediaplayer> es:Dataform...")
No edit summary
Line 5: Line 5:


[[es:Dataform Hello World]]
[[es:Dataform Hello World]]
==Separate participants==
One setting and two permissions can affect whether the user can is limited to viewing only his/her entries.
===Separate participants by activity setting===
[[File:df-activity-settings-separate-participants.png]]
The activity setting 'Separate participants' set to 'Yes' will restrict all roles which do not have the 'mod/dataform:manageentries' capability to their own entries. By default permissions, that's all roles below editing teacher. This means that non-editing teachers are also restricted to their own entries by this setting. If you want to allow non-editing teachers (graders/TAs) access to certain entries you can use an Entry access rule and set the rule with entry filter to fetch the designated entries and a role override where you assign the designated non-editing teacher to the editing teacher role.
===Separate participants by permission===
[[File:df-activity-permissions-entryanyview.png]]
By default the mod/dataform:entryanyview permission is granted to everyone. You can exclude certain roles in the activity level by removing the role from the permission (Prevent), or by adding the role under Prohibited. Note that if you want to then grant the permission to particular users from the excluded role, use the Prevent method and then add an Entry access rule with a proper override.

Revision as of 20:38, 16 March 2015


Building a simple activity

<mediaplayer>http://www.youtube.com/watch?v=Ab9jLl8ZV90</mediaplayer>

Separate participants

One setting and two permissions can affect whether the user can is limited to viewing only his/her entries.

Separate participants by activity setting

df-activity-settings-separate-participants.png

The activity setting 'Separate participants' set to 'Yes' will restrict all roles which do not have the 'mod/dataform:manageentries' capability to their own entries. By default permissions, that's all roles below editing teacher. This means that non-editing teachers are also restricted to their own entries by this setting. If you want to allow non-editing teachers (graders/TAs) access to certain entries you can use an Entry access rule and set the rule with entry filter to fetch the designated entries and a role override where you assign the designated non-editing teacher to the editing teacher role.

Separate participants by permission

df-activity-permissions-entryanyview.png

By default the mod/dataform:entryanyview permission is granted to everyone. You can exclude certain roles in the activity level by removing the role from the permission (Prevent), or by adding the role under Prohibited. Note that if you want to then grant the permission to particular users from the excluded role, use the Prevent method and then add an Entry access rule with a proper override.