-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform capabilities.

Dataform capabilities: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
The Entry capabilities can be set in the Dataform context for entries in all the views or in a [[Dataformaccess Entry]] rule for a subset of entries in a subset of the views.  
The Entry capabilities can be set in the Dataform context for entries in all the views or in a [[Dataformaccess Entry]] rule for a subset of entries in a subset of the views.  


{| class=""  style="text-align:center;background-color:inherit;border:0;"       
{| class=""  style="background-color:inherit;border:0;"       
|-  
|-      
| style="text-align:left;" colspan="9" | <h2>Activity capabilities</h2>  
| style="text-align:left;" colspan="9" | <h2>Activity capabilities</h2>    
|- style="font-weight:bold;background-color:#F2F2F2;" |  
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|| Guest || Front page || Student || Non-editing teacher || Teacher || Manager
{{Dataform capability table row | | [[Capabilities/mod/dataform:addinstance|dataform:addinstance]] | Add a new Dataform activity |  |  |  |  | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:indexview|dataform:indexview]] | View the course's Dataform index |  |  |  | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:addinstance|Add a new Dataform activity]] |||||| V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:messagingview|dataform:messagingview]] | View the messaging options of a Dataform activity |  |  |  |  | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:managetemplates|dataform:managetemplates]] | Can do everything in the Dataform activity |  |  |  |  | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:indexview|View the course's Dataform index]] ||||| V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:manageviews|dataform:manageviews]] | Manage Dataform views | |  | | | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefields|dataform:managefields]] | Manage Dataform fields |  |  | | | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:messagingview|View the messaging options of a Dataforrm activity]] |||||| V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefilters|dataform:managefilters]] | Manage Dataform filters | | | | | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefilters|dataform:manageaccess]] | Manage Dataform access rules |  | |  |  | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:managetemplates|Manage Dataform templates]] ||  ||||| V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefilters|dataform:managenotifications]] | Manage Dataform notification rules |  | |  | | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefilters|dataform:managecss]] | Manage Dataform css |  | |  | | V | V }}
| style="text-align:left;" colspan="9" | <h2>View capabilities</h2> 
{{Dataform capability table row | | [[Capabilities/mod/dataform:managefilters|dataform:managejs]] | Manage Dataform js |  | |  |  | V | V }}
|- style="font-weight:bold;background-color:#F2F2F2;" |  
{{Dataform capability table row |  | [[Capabilities/mod/dataform:managefilters|dataform:managejs]] | Manage Dataform tools |  |  |  |  | V | V }}
|  || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
|-      
|-   
| style="text-align:left;" colspan="9" | <h2>View capabilities</h2>    
| style="text-align:left;" | [[Capabilities/mod/dataform:viewaccess|Access a non-hidden view]] || V || V || V || V || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:viewaccess|dataform:viewaccess]] | Access a non-hidden view | V | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:viewaccesshidden|Access a hidden view]] ||  ||  ||| V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:viewaccesshidden|dataform:viewaccesshidden]] | Access a hidden view | | |  | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:viewaccessearly|dataform:viewaccessearly]] | Access a view before activity availability |  | | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:viewaccessearly|Access a view before activity availability]] ||  ||  || V || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:viewaccesslate|dataform:viewaccesslate]] | Access a view after activity is due |  |  | V | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:viewfilteroverride|dataform:viewfilteroverride]] | Override view filter |  |  |  | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:viewaccesslate|Access a view after activity is due]] ||  ||  || V || V || V || V
|-      
|-   
| style="text-align:left;" colspan="9" | <h2>Entry capabilities</h2>   
| style="text-align:left;" | [[Capabilities/mod/dataform:viewfilteroverride|Override view filter]] ||  ||  ||| V || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-  
{{Dataform capability table row | | [[Capabilities/mod/dataform:manageentries|dataform:manageentries]] | Manage entries<br /><br />*Can view hidden or owner-only  fields.<br />*Can update non-editable fields.<br />*Can add more than max entries.<br />*Not conditioned by required entries.<br />*Can view others' entries in separate participants mode.<br />*Can edit entry author (via the <nowiki>[[EAU:edit]]</nowiki> pattern).<br />*Can edit entry group (via the <nowiki>[[EGR:edit]]</nowiki> pattern).| |  | | | V | V }}
| style="text-align:left;" colspan="9" | <h2>Entry capabilities</h2>  
|-      
|- style="font-weight:bold;background-color:#F2F2F2;" |  
| style="text-align:left;" colspan="9" | <h3>Entries before the activity is available</h3>   
|| Guest || Front page || Student || Non-editing teacher || Teacher || Manager
|-      
|-   
| style="text-align:left;" colspan="9" | If the activity is not yet available and these permissions are not granted, the user will not be able to do the corresponding actions on any type of entry.
| style="text-align:left;" | [[Capabilities/mod/dataform:manageentries|Manage entries]] || || ||  ||  || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; |  |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryearlyview|dataform:entryearlyview]] | View entries early |  | V | V | V | V | V }}
| style="text-align:left;" colspan="9" | <h3>Entries before the activity is available</h3> 
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryearlyadd|dataform:entryearlyadd]] | Add entries early |  |  |  | V | V | V }}
|- style="font-weight:bold;background-color:#F2F2F2;" |  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryearlyupdate|dataform:entryearlyupdate]] | Update entries early | | |  | V | V | V }}
|  || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryearlydelete|dataform:entryearlydelete]] | Delete entries early |  | | | V | V | V }}
|-   
|-      
| style="text-align:left;" | [[Capabilities/mod/dataform:entryearlyview|View early entries]] ||  || V || V || V || V || V
| style="text-align:left;" colspan="9" | <h3>Entries after the activity is due</h3>   
|-   
|-      
| style="text-align:left;" | [[Capabilities/mod/dataform:entryearlyadd|Add early entries]] ||  ||  ||  || V || V || V
| style="text-align:left;" colspan="9" | If the activity is past due and these permissions are not granted, the user will not be able to do the corresponding actions on any type of entry.
|-   
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryearlyupdate|Update early entries]] ||  |||| V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrylateview|dataform:entrylateview]] | View entries late |  | V | V | V | V | V }}
|-  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrylateadd|dataform:entrylateadd]] | Add entries late |  | | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryearlydelete|Delete early entries]] ||  || || || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrylateupdate|dataform:entrylateupdate]] | Update entries late |  |  |  | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrylatedelete|dataform:entrylatedelete]] | Delete entries late |  |  |  | V | V | V }}
| style="text-align:left;" colspan="9" | <h3>Entries after the activity is past due</h3>  
|-      
|- style="font-weight:bold;background-color:#F2F2F2;" |  
| style="text-align:left;" colspan="9" | <h3>Entries authored by the current user</h3>   
|  || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryownview|dataform:entryownview]] | View own entries |  | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrylateview|View late entries]] ||  || V || V || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryownexport|dataform:entryownexport]] | Export own entries |  | V | V | V | V | V }}
|-  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryownadd|dataform:entryownadd]] | Add own entries |  | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrylateadd|Add late entries]] ||  ||  || || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryownupdate|dataform:entryownupdate]] | Update own entries |  | V | V | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryowndelete|dataform:entryowndelete]] | Delete own entries |  | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrylateupdate|Update late entries]] ||  || ||  || V || V || V
|-      
|-   
| style="text-align:left;" colspan="9" | <h3>Entries authored by members of the current user's group</h3>    
| style="text-align:left;" | [[Capabilities/mod/dataform:entrylatedelete|Delete late entries]] ||  |||| V || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; | |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrygroupview|dataform:entrygroupview]] | View group entries | | V | V | V | V | V }}
| style="text-align:left;" colspan="9" | <h3>Entries authored by the current user</h3> 
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrygroupexport|dataform:entrygroupexport]] | Export group entries | | V | V | V | V | V }}
|- style="font-weight:bold;background-color:#F2F2F2;" |  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrygroupadd|dataform:entrygroupadd]] | Add group entries |  | V | V | V | V | V }}
|  || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
{{Dataform capability table row | | [[Capabilities/mod/dataform:entrygroupupdate|dataform:entrygroupupdate]] | Update group entries |  | V | V | V | V | V }}
|-   
{{Dataform capability table row |  | [[Capabilities/mod/dataform:entrygroupdelete|dataform:entrygroupdelete]] | Delete group entries |  | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryownview|View own entries]] ||  || V || V || V || V || V
|-      
|-  
| style="text-align:left;" colspan="9" | <h3>Entries that are not own, group, or anonymous</h3>   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryownexport|Export own entries]] ||  || V || V || V || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; |  |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanyview|dataform:entryanyview]] | View any entries | V | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryownadd|Add own entries]] ||  || V || V || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanyexport|dataform:entryanyexport]] | Export any entries | V | V | V | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanyadd|dataform:entryanyadd]] | Add any entries |  | | | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryownupdate|Update own entries]] ||  || V || V || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanyupdate|dataform:entryanyupdate]] | Update any entries | |  |  | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanydelete|dataform:entryanydelete]] | Delete any entries |  | | | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entryowndelete|Delete own entries]] ||  || V || V || V || V || V
|-      
|-   
| style="text-align:left;" colspan="9" | <h3>Entries authored anonymously</h3>   
| style="text-align:left;" colspan="9" | <h3>Entries authored by members of the current user's group</h3> 
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; |  |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|- style="font-weight:bold;background-color:#F2F2F2;" |  
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanonymousview|dataform:entryanonymousview]] | View anonymous entries | V | V | V | V | V | V }}
|| Guest || Front page || Student || Non-editing teacher || Teacher || Manager
{{Dataform capability table row |  | [[Capabilities/mod/dataform:entryanonymousexport|dataform:entryanonymousexport]] | Export anonymous entries |  | | | V | V | V }}
|-   
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanonymousadd|dataform:entryanonymousadd]] | Add anonymous entries | | V | V | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrygroupview|View group entries]] ||  || V || V || V || V || V
{{Dataform capability table row | | [[Capabilities/mod/dataform:entryanonymousupdate|dataform:entryanonymousupdate]] | Update anonymous entries |  | |  | V | V | V }}
|-   
{{Dataform capability table row |  | [[Capabilities/mod/dataform:entryanonymousdelete|dataform:entryanonymousdelete]] | Delete anonymous entries | | |  | V | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrygroupexport|Export group entries]] ||  || V || V || V || V || V
|-     
|-   
| style="text-align:left;" colspan="9" | <h2>Preset capabilities</h2>   
| style="text-align:left;" | [[Capabilities/mod/dataform:entrygroupadd|Add group entries]] ||  || V || V || V || V || V
{{Dataform capability table row | font-weight:bold;background-color:#F2F2F2; |  |  | Guest | Front page | Student | Teacher | Teacher (editing) | Manager }}
|-   
{{Dataform capability table row |  | [[Capabilities/mod/dataform:managepresets|dataform:managepresets]] | Manage presets |  |  |  |  | V | V }}
| style="text-align:left;" | [[Capabilities/mod/dataform:entrygroupupdate|Update group entries]] ||  || V || V || V || V || V
{{Dataform capability table row |  | [[Capabilities/mod/dataform:presetsviewall|dataform:presetsviewall]] | View all presets |  |  |  |  | V | V }}
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entrygroupdelete|Delete group entries]] ||  || V || V || V || V || V
|-  
| style="text-align:left;" colspan="9" | <h3>Entries that are not own, group, or anonymous</h3>  
|- style="font-weight:bold;background-color:#F2F2F2;" |  
|| Guest || Front page || Student || Non-editing teacher || Teacher || Manager
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanyview|View any entries]] || V || V || V || V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanyexport|Export any entries]] || V || V || V || V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanyadd|Add any entries]] ||  || ||  || V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanyupdate|Update any entries]] ||  ||  ||  || V || V || V
|-  
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanydelete|Delete any entries]] ||  ||  || || V || V || V
|-   
| style="text-align:left;" colspan="9" | <h3>Entries authored anonymously</h3> 
|- style="font-weight:bold;background-color:#F2F2F2;" |  
| || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanonymousview|View anonymous entries]] || V || V || V || V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanonymousexport|Export anonymous entries]] || |||| V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanonymousadd|Add anonymous entries]] ||  || V || V || V || V || V
|-  
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanonymousupdate|Update anonymous entries]] ||  ||  || || V || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:entryanonymousdelete|Delete anonymous entries]] || || ||  || V || V || V
|-   
| style="text-align:left;" colspan="9" | <h2>Preset capabilities</h2> 
|- style="font-weight:bold;background-color:#F2F2F2;" |  
| || Guest || Front page || Student || Non-editing teacher || Teacher || Manager
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:managepresets|Manage presets]] ||  ||  || ||  || V || V
|-   
| style="text-align:left;" | [[Capabilities/mod/dataform:presetsviewall|View all presets]] |||||| V || V
|}
|}

Latest revision as of 00:54, 8 April 2014


The list below shows the Dataform capabilities and their default Allow setting.

The View capabilities can be set in the Dataform context for all views in the activity or in a Dataformaccess View rule for a subset of the view. The Entry capabilities can be set in the Dataform context for entries in all the views or in a Dataformaccess Entry rule for a subset of entries in a subset of the views.

Activity capabilities

Guest Front page Student Teacher Teacher (editing) Manager
dataform:addinstance Add a new Dataform activity V V
dataform:indexview View the course's Dataform index V V V
dataform:messagingview View the messaging options of a Dataform activity V V
dataform:managetemplates Can do everything in the Dataform activity V V
dataform:manageviews Manage Dataform views V V
dataform:managefields Manage Dataform fields V V
dataform:managefilters Manage Dataform filters V V
dataform:manageaccess Manage Dataform access rules V V
dataform:managenotifications Manage Dataform notification rules V V
dataform:managecss Manage Dataform css V V
dataform:managejs Manage Dataform js V V
dataform:managejs Manage Dataform tools V V

View capabilities

Guest Front page Student Teacher Teacher (editing) Manager
dataform:viewaccess Access a non-hidden view V V V V V V
dataform:viewaccesshidden Access a hidden view V V V
dataform:viewaccessearly Access a view before activity availability V V V V
dataform:viewaccesslate Access a view after activity is due V V V V
dataform:viewfilteroverride Override view filter V V V

Entry capabilities

Guest Front page Student Teacher Teacher (editing) Manager
dataform:manageentries Manage entries

*Can view hidden or owner-only fields.
*Can update non-editable fields.
*Can add more than max entries.
*Not conditioned by required entries.
*Can view others' entries in separate participants mode.
*Can edit entry author (via the [[EAU:edit]] pattern).
*Can edit entry group (via the [[EGR:edit]] pattern).
V V

Entries before the activity is available

If the activity is not yet available and these permissions are not granted, the user will not be able to do the corresponding actions on any type of entry.
Guest Front page Student Teacher Teacher (editing) Manager
dataform:entryearlyview View entries early V V V V V
dataform:entryearlyadd Add entries early V V V
dataform:entryearlyupdate Update entries early V V V
dataform:entryearlydelete Delete entries early V V V

Entries after the activity is due

If the activity is past due and these permissions are not granted, the user will not be able to do the corresponding actions on any type of entry.
Guest Front page Student Teacher Teacher (editing) Manager
dataform:entrylateview View entries late V V V V V
dataform:entrylateadd Add entries late V V V
dataform:entrylateupdate Update entries late V V V
dataform:entrylatedelete Delete entries late V V V

Entries authored by the current user

Guest Front page Student Teacher Teacher (editing) Manager
dataform:entryownview View own entries V V V V V
dataform:entryownexport Export own entries V V V V V
dataform:entryownadd Add own entries V V V V V
dataform:entryownupdate Update own entries V V V V V
dataform:entryowndelete Delete own entries V V V V V

Entries authored by members of the current user's group

Guest Front page Student Teacher Teacher (editing) Manager
dataform:entrygroupview View group entries V V V V V
dataform:entrygroupexport Export group entries V V V V V
dataform:entrygroupadd Add group entries V V V V V
dataform:entrygroupupdate Update group entries V V V V V
dataform:entrygroupdelete Delete group entries V V V V V

Entries that are not own, group, or anonymous

Guest Front page Student Teacher Teacher (editing) Manager
dataform:entryanyview View any entries V V V V V V
dataform:entryanyexport Export any entries V V V V V V
dataform:entryanyadd Add any entries V V V
dataform:entryanyupdate Update any entries V V V
dataform:entryanydelete Delete any entries V V V

Entries authored anonymously

Guest Front page Student Teacher Teacher (editing) Manager
dataform:entryanonymousview View anonymous entries V V V V V V
dataform:entryanonymousexport Export anonymous entries V V V
dataform:entryanonymousadd Add anonymous entries V V V V V
dataform:entryanonymousupdate Update anonymous entries V V V
dataform:entryanonymousdelete Delete anonymous entries V V V

Preset capabilities

Guest Front page Student Teacher Teacher (editing) Manager
dataform:managepresets Manage presets V V
dataform:presetsviewall View all presets V V