Datalynx permissions: Difference between revisions

From MoodleDocs
(Created page with "Datalynx You can change the default permissions of the module, if you want for example, that students have certain teachers permission, or hide certain views from a specific ...")
 
m (clean up, typos fixed: priviliges → privileges, the the → the)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Datalynx
{{Datalynx}}
You can change the default permissions of the module. Examples for permission overrides are: Allow students to have certain teachers permission. Hide certain views from a specific role. 


You can change the default permissions of the module, if you want for example, that students have certain teachers permission, or hide certain views from a specific role. In addition to the permissions on the activity level, you can also define certain permissions in the settings of each view.
==Special permission: "access privileges"==
These privileges have the name of the role, that has the capability per default. This permission has to be combined with the view settings of each view. In each view it is possible to define which privilege a role has to have in order to access the view.


== Permissions for datalynx activity ==
== Permissions for datalynx activity ==
{| class="nicetable"
{| class="wikitable"
! Permission || Roles with permission
! Permission || Description || Roles with permission
|-
|-
|Approve unapproved entries mod/datalynx:approve||Non-editing teacher, Teacher, Manager
|Approve unapproved entries mod/datalynx:approve||If enabled in the datalynx settings, this permission allows to approve entries.||Non-editing teacher, Teacher, Manager
|-
|-
|Write comments mod/datalynx:comment||Student, Non-editing teacher, Teacher, Manager
|Write comments mod/datalynx:comment|| If enabled with the appropriate tag, commenting is allowed ||Student, Non-editing teacher, Teacher, Manager
|-
|-
|Edit restricted fields mod/datalynx:editrestrictedfields||Manager
|Edit restricted fields mod/datalynx:editrestrictedfields||A field, that is present in a view with the additional keyword :restricted, can only be viewed by roles with this capability. Example: [[personalinfo:restricted]] ||Manager
|-
|-
|Export all entries mod/datalynx:exportallentries||Non-editing teacher, Teacher, Manager
|Export all entries mod/datalynx:exportallentries|| Export all entries (as CSV or PDF) ||Non-editing teacher, Teacher, Manager
|-
|-
|Export entry mod/datalynx:exportentry||Non-editing teacher, Teacher, Manager
|Export entry mod/datalynx:exportentry||  Export an entry created by another user as PDF  ||Non-editing teacher, Teacher, Manager
|-
|-
|Export own entries mod/datalynx:exportownentry|Student, Non-editing teacher, Teacher, Manager
|Export own entries mod/datalynx:exportownentry||  User who created entry and user who exports entry have to be identical ||Student, Non-editing teacher, Teacher, Manager
|-
|-
|Manage comments mod/datalynx:managecomments||Non-editing teacher, Teacher, Manager
|Manage comments mod/datalynx:managecomments|| Delete comments of other users ||Non-editing teacher, Teacher, Manager
|-
|-
|Manage entries mod/datalynx:manageentries||Non-editing teacher, Teacher, Manager
|Manage entries mod/datalynx:manageentries||  Edit, delete entries of other users  ||Non-editing teacher, Teacher, Manager
|-
|-
|Manage presets mod/datalynx:managepresets||Manager
|Manage presets mod/datalynx:managepresets||  Edit, delete presets    ||Manager
|-
|-
|Manage ratings mod/datalynx:manageratings||Non-editing teacher, Teacher, Manager
|Manage ratings mod/datalynx:manageratings||  Rate entries  ||Non-editing teacher, Teacher, Manager
|-
|-
|Manage templates mod/datalynx:managetemplates||Teacher, Manager
|Manage templates mod/datalynx:managetemplates||  Manage settings of views, filters, etc.  ||Teacher, Manager
|-
|-
|Notified on added comment mod/datalynx:notifycommentadded||Non-editing teacher, Teacher, Manager
|Notified on added comment mod/datalynx:notifycommentadded||  Not applicable anymore  ||Non-editing teacher, Teacher, Manager
|-
|-
|Notified on added entry mod/datalynx:notifyentryadded||Non-editing teacher, Teacher, Manager
|Notified on added entry mod/datalynx:notifyentryadded||  Not applicable anymore    ||Non-editing teacher, Teacher, Manager
|-
|-
|Notified on approved entry mod/datalynx:notifyentryapproved||Non-editing teacher, Teacher
|Notified on approved entry mod/datalynx:notifyentryapproved||  Not applicable anymore    ||Non-editing teacher, Teacher
|-
|-
|Notified on deleted entry mod/datalynx:notifyentrydeleted||Non-editing teacher, Teacher, Manager
|Notified on deleted entry mod/datalynx:notifyentrydeleted||  Not applicable anymore    ||Non-editing teacher, Teacher, Manager
|-
|-
|Notified on disapproved entry mod/datalynx:notifyentrydisapproved||Non-editing teacher, Teacher
|Notified on disapproved entry mod/datalynx:notifyentrydisapproved||  Not applicable anymore    ||Non-editing teacher, Teacher
|-
|-
|Notified on updated entry mod/datalynx:notifyentryupdated||Non-editing teacher, Teacher, Manager
|Notified on updated entry mod/datalynx:notifyentryupdated||  Not applicable anymore    ||Non-editing teacher, Teacher, Manager
|-
|-
|Inform users about being added as a team member mod/datalynx:notifymemberadded||Student, Non-editing teacher, Teacher, Manager
|Inform users about being added as a team member mod/datalynx:notifymemberadded||      ||Student, Non-editing teacher, Teacher, Manager
|-
|-
|Inform users about being removed as a team member mod/datalynx:notifymemberremoved||Student, Non-editing teacher, Teacher, Manager
|Inform users about being removed as a team member mod/datalynx:notifymemberremoved||      ||Student, Non-editing teacher, Teacher, Manager
|-
|-
|Notified on added rating mod/datalynx:notifyratingadded||Non-editing teacher, Teacher, Manager
|Notified on added rating mod/datalynx:notifyratingadded||      ||Non-editing teacher, Teacher, Manager
|-
|-
|Notified on updated rating mod/datalynx:notifyratingupdated||Non-editing teacher, Teacher, Manager
|Notified on updated rating mod/datalynx:notifyratingupdated||      ||Non-editing teacher, Teacher, Manager
|-
|-
|View presets from all users mod/datalynx:presetsviewall||Non-editing teacher, Teacher, Manager
|View presets from all users mod/datalynx:presetsviewall||      ||Non-editing teacher, Teacher, Manager
|-
|-
|Rate entries mod/datalynx:rate||Non-editing teacher, Teacher, Manager
|Rate entries mod/datalynx:rate||  Rate entries  ||Non-editing teacher, Teacher, Manager
|-
|-
|View ratings mod/datalynx:ratingsview||Non-editing teacher, Teacher, Manager
|View ratings mod/datalynx:ratingsview||  View ratings  ||Non-editing teacher, Teacher, Manager
|-
|-
|View all ratings mod/datalynx:ratingsviewall||Non-editing teacher, Teacher, Manager
|View all ratings mod/datalynx:ratingsviewall||  View ratings    ||Non-editing teacher, Teacher, Manager
|-
|-
|View any ratings mod/datalynx:ratingsviewany||Non-editing teacher, Teacher, Manager
|View any ratings mod/datalynx:ratingsviewany|| View ratings ||Non-editing teacher, Teacher, Manager
|-
|-
|View anonymous entries mod/datalynx:viewanonymousentry||Non-editing teacher, Manager
|View anonymous entries mod/datalynx:viewanonymousentry|| View entries made by not logged in users ||Non-editing teacher, Manager
|-
|-
|View drafts mod/datalynx:viewdrafts||Manager
|View drafts mod/datalynx:viewdrafts|| If the tag ##status## was added in the view for creating new entries, it is possible to set the entry to status "draft". In some cases you do not want teachers to see draft entries of their students, but only entries with status "final submission". This does not apply when ##status## is not used.    ||Manager
|-
|-
|View entries mod/datalynx:viewentry||Authenticated user on frontpage, Guest, Student, Non-editing teacher, Teacher, Manager
|View entries mod/datalynx:viewentry|| This allows to view (approved) entries.  ||Authenticated user on frontpage, Guest, Student, Non-editing teacher, Teacher, Manager
|-
|-
|View index mod/datalynx:viewindex||Non-editing teacher, Teacher, Manager
|View index mod/datalynx:viewindex||  Index is currently not used  ||Non-editing teacher, Teacher, Manager
|-
|-
|Administrator view access privilege mod/datalynx:viewprivilegeadmin||
|Administrator view access privilege mod/datalynx:viewprivilegeadmin||  Access views that have no privilege set at all    ||
|-
|-
|Guest view access privilege mod/datalynx:viewprivilegeguest||Guest
|Guest view access privilege mod/datalynx:viewprivilegeguest||  Access views, that have the guest view access privilege enabled  ||Guest
|-
|-
||Manager view access privilege mod/datalynx:viewprivilegemanager||Manager
|Manager view access privilege mod/datalynx:viewprivilegemanager||  Access views, that have the manager view access privilege enabled    ||Manager
|-
|-
|Student view access privilege mod/datalynx:viewprivilegestudent||Student
|Student view access privilege mod/datalynx:viewprivilegestudent||  Access views, that have the student view access privilege enabled    ||Student
|-
|-
||Teacher view access privilege mod/datalynx:viewprivilegeteacher||Non-editing teacher, Teacher
|Teacher view access privilege mod/datalynx:viewprivilegeteacher||  Access views, that have the teacher view access privilege enabled    ||Non-editing teacher, Teacher
|-
|-
|View statistics mod/datalynx:viewstatistics||Non-editing teacher, Teacher, Manager
|View statistics mod/datalynx:viewstatistics||  View statistics  ||Non-editing teacher, Teacher, Manager
|-
|-
|Write entries mod/datalynx:writeentry||Student, Non-editing teacher, Teacher, Manager
|Write entries mod/datalynx:writeentry||  Add a new entry and edit own entry  ||Student, Non-editing teacher, Teacher, Manager
|}
|}

Latest revision as of 14:58, 11 August 2022

You can change the default permissions of the module. Examples for permission overrides are: Allow students to have certain teachers permission. Hide certain views from a specific role.

Special permission: "access privileges"

These privileges have the name of the role, that has the capability per default. This permission has to be combined with the view settings of each view. In each view it is possible to define which privilege a role has to have in order to access the view.

Permissions for datalynx activity

Permission Description Roles with permission
Approve unapproved entries mod/datalynx:approve If enabled in the datalynx settings, this permission allows to approve entries. Non-editing teacher, Teacher, Manager
Write comments mod/datalynx:comment If enabled with the appropriate tag, commenting is allowed Student, Non-editing teacher, Teacher, Manager
Edit restricted fields mod/datalynx:editrestrictedfields A field, that is present in a view with the additional keyword :restricted, can only be viewed by roles with this capability. Example: personalinfo:restricted Manager
Export all entries mod/datalynx:exportallentries Export all entries (as CSV or PDF) Non-editing teacher, Teacher, Manager
Export entry mod/datalynx:exportentry Export an entry created by another user as PDF Non-editing teacher, Teacher, Manager
Export own entries mod/datalynx:exportownentry User who created entry and user who exports entry have to be identical Student, Non-editing teacher, Teacher, Manager
Manage comments mod/datalynx:managecomments Delete comments of other users Non-editing teacher, Teacher, Manager
Manage entries mod/datalynx:manageentries Edit, delete entries of other users Non-editing teacher, Teacher, Manager
Manage presets mod/datalynx:managepresets Edit, delete presets Manager
Manage ratings mod/datalynx:manageratings Rate entries Non-editing teacher, Teacher, Manager
Manage templates mod/datalynx:managetemplates Manage settings of views, filters, etc. Teacher, Manager
Notified on added comment mod/datalynx:notifycommentadded Not applicable anymore Non-editing teacher, Teacher, Manager
Notified on added entry mod/datalynx:notifyentryadded Not applicable anymore Non-editing teacher, Teacher, Manager
Notified on approved entry mod/datalynx:notifyentryapproved Not applicable anymore Non-editing teacher, Teacher
Notified on deleted entry mod/datalynx:notifyentrydeleted Not applicable anymore Non-editing teacher, Teacher, Manager
Notified on disapproved entry mod/datalynx:notifyentrydisapproved Not applicable anymore Non-editing teacher, Teacher
Notified on updated entry mod/datalynx:notifyentryupdated Not applicable anymore Non-editing teacher, Teacher, Manager
Inform users about being added as a team member mod/datalynx:notifymemberadded Student, Non-editing teacher, Teacher, Manager
Inform users about being removed as a team member mod/datalynx:notifymemberremoved Student, Non-editing teacher, Teacher, Manager
Notified on added rating mod/datalynx:notifyratingadded Non-editing teacher, Teacher, Manager
Notified on updated rating mod/datalynx:notifyratingupdated Non-editing teacher, Teacher, Manager
View presets from all users mod/datalynx:presetsviewall Non-editing teacher, Teacher, Manager
Rate entries mod/datalynx:rate Rate entries Non-editing teacher, Teacher, Manager
View ratings mod/datalynx:ratingsview View ratings Non-editing teacher, Teacher, Manager
View all ratings mod/datalynx:ratingsviewall View ratings Non-editing teacher, Teacher, Manager
View any ratings mod/datalynx:ratingsviewany View ratings Non-editing teacher, Teacher, Manager
View anonymous entries mod/datalynx:viewanonymousentry View entries made by not logged in users Non-editing teacher, Manager
View drafts mod/datalynx:viewdrafts If the tag ##status## was added in the view for creating new entries, it is possible to set the entry to status "draft". In some cases you do not want teachers to see draft entries of their students, but only entries with status "final submission". This does not apply when ##status## is not used. Manager
View entries mod/datalynx:viewentry This allows to view (approved) entries. Authenticated user on frontpage, Guest, Student, Non-editing teacher, Teacher, Manager
View index mod/datalynx:viewindex Index is currently not used Non-editing teacher, Teacher, Manager
Administrator view access privilege mod/datalynx:viewprivilegeadmin Access views that have no privilege set at all
Guest view access privilege mod/datalynx:viewprivilegeguest Access views, that have the guest view access privilege enabled Guest
Manager view access privilege mod/datalynx:viewprivilegemanager Access views, that have the manager view access privilege enabled Manager
Student view access privilege mod/datalynx:viewprivilegestudent Access views, that have the student view access privilege enabled Student
Teacher view access privilege mod/datalynx:viewprivilegeteacher Access views, that have the teacher view access privilege enabled Non-editing teacher, Teacher
View statistics mod/datalynx:viewstatistics View statistics Non-editing teacher, Teacher, Manager
Write entries mod/datalynx:writeentry Add a new entry and edit own entry Student, Non-editing teacher, Teacher, Manager