New role: Student = Lesson Creator ?

New role: Student = Lesson Creator ?

by Miro Iliaš -
Number of replies: 8

Dear all,

I am interested in defining new role for student - Lesson Creator.

Within dedicated course for creating course content, where we are already using with the role "Question Creator" for students, who are creating questions to the Bank, we would like to extend students permissions for creation of Lessons.

I found these lessons attributes:

http://docs.moodle.org/25/en/Capabilities/mod/lesson:edit

http://docs.moodle.org/25/en/Capabilities/mod/lesson:manage

http://docs.moodle.org/25/en/Capabilities/mod/lesson:addinstance

 

Any advice what combination of "lesson:ATTRIBUTE"(s) would be the most suitable for that role ? When student generates lesson, teacher shall export/import it to his own courses.

 

Thanks.

Average of ratings: -
In reply to Miro Iliaš

Re: New role: Student = Lesson Creator ?

by Mary Cooch (personal account) -
Picture of Documentation writers Picture of Testers

If this is a dedicated course for creating content, why not just give the students the editing teacher role in that course  rather then trying to change permissions?

In reply to Mary Cooch (personal account)

Re: New role: Student = Lesson Creator ?

by Miro Iliaš -

Hi,

beacuse the role "teacher" has r/w access to the department's question bank. Frankly, teacher's role has too much rights.

For that reason we created/adjusted the role "Question creator" - student can create/edit/export/import  only his own questions, and does not see other categories.

Similarly we would like to devise the role "Lesson creator".

 

In reply to Miro Iliaš

Re: New role: Student = Lesson Creator ?

by David Mudrák -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
I'm not sure but I don't think there is an easy and safe way to give students permission to create Lessons only.

Alternative solution might be to set up another Moodle instance, give your students teacher access there, and then backup and restore their products at the live site.
In reply to Miro Iliaš

Re: New role: Student = Lesson Creator ?

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Miro,

What you want is possible to implement... but there are implications.

Scenario #1

In your "dedicated course for creating course content", edit the Student role as follows:

Capability Allowed
Manage activitiesmoodle/course:manageactivities Yes
Add a new lessonmod/lesson:addinstance Yes
Edit a lesson activitymod/lesson:edit Yes
Manage a lesson activitymod/lesson:manage Yes

In that course, students with that modified role will be able to click the Turn editing on button, but will only be able to add a Lesson activity.

screenshot #1

Please note that, of course, all students will be able to edit or remove ALL existing activities in the course. If you have in that course some resources or activities that you do not want students to edit or remove, you'll have to "protect" them one by one. For example, suppose, as teacher, you have created in your course a "page" giving instructions. To protect it from editing/removing by students who now have the manageactivities capability, you must to to that "instructions page" permissions, and remove its manageactivities capability for student role.

Scenario #2

Do not hack the student role. As teacher, create as many lesson instances as needed for your students. Name each lesson with a student's name. In each lesson, go to Permissions, and give the student role the following capabilities:

  • Edit a lesson activitymod/lesson:edit
  • Manage a lesson activitymod/lesson:manage

Your students will not be able to add a new lesson instance, but will be able to add questions to the lesson instances you have created. Of course, nothing would prevent Student A from editing Student B's lesson, etc.

If you cannot trust your students, then you would have to create as many student-based new roles as you have students enroled in that course, and give lesson edit permissions for lesson "A" to student A role, etc.

Let us know if that helps and if you eventually manage to achieve what you want.

Joseph

Average of ratings: Useful (2)
In reply to Joseph Rézeau

Re: New role: Student = Lesson Creator ? (rather Lesson Editor)

by Miro Iliaš -

Excellent, Joseph !

What works is your "Scenario 2" with minor, but crucial improvement - addition of  'restrict access' to each (visible) Lesson.

So I create lesson instances for every student, and each lesson shall be provided with these unique restrictions : "First name" contains "student A/B/C's... first name" and "Surname" contains "student A/B/C's... sure name".

In this way each student (with added activitymod/lesson:edit+activitymod/lesson:manage rights) will have access only to his 'personalized' lesson with few starting hints from his teacher about lesson's content, questions etc. Of course, for security reasons there will be no non-personalized, visible lesson in the given course, designed (also) for editing Lessons by students.

Also, I would rename the suggested role "Lesson Creator" to the more meaningful "Lesson Editor". Teachers create personalized Lesson 'templates' ans  student's shall become Lesson editors.

Best, Miro

PS: This scheme of assigning editing rights should work for the questionnaire... Going to check it.

 

Average of ratings: Useful (1)
In reply to Miro Iliaš

Re: New role: Student = Lesson Creator ? (rather Lesson Editor)

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Miro "each lesson shall be provided with these unique restrictions : "First name" contains "student A/B/C's... first name" and "Surname" contains "student A/B/C's... sure name""

How do you do that?

Average of ratings: Useful (1)
In reply to Joseph Rézeau

Re: New role: Student = Lesson Creator ? (rather Lesson Editor)

by Miro Iliaš -

Hi Joseph,

in updading Lesson you have the "Restrict access" choice (print screens from our Moodle 2.5):

Joseph

 

what - after saving - the teacher shall see as:

Joseph2

And the given (test)student shall see (and will be able to edit with the role "Lesson Editor") this Lesson only if student's First name=testStudent & Surname=testStudent. 

 

 

Average of ratings: Useful (2)
In reply to Miro Iliaš

Re: New role: Student = Lesson Creator ? (rather Lesson Editor)

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Miro,

This is excellent! However you forgot to mention that "Enable conditional access" must have been enabled sitewide by Admin first of all. This is not the case on moodle sites by default.

Site administration ► Advanced features: Enable conditional access

Joseph