Changing student role to view only access after course expiry

Changing student role to view only access after course expiry

Cheryl Ayres發表於
Number of replies: 1

1) Our courses do not have expiry dates assigned to the assignment and quizzes. 

2) There is no guest access to any of our courses.

3) The Unenrollment process does not proviude us with the solution to our problem.

What we need to do is allow the student read only priviledges to the course after a set time.  This way they would not have access to submit anything after a specified time.

A custom variation of the guest would be perfect.

Is there any way to automate the conversion of student roles?

Cheryl

評比平均分數: -
In reply to Cheryl Ayres

Re: Changing student role to view only access after course expiry

Tim Hunt發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
No, there is not, but it would not be too hard to implement. Find out the code that currently does Unenrolment, and change it so that instead of just doing a role_unassign, it also does a role_assign of the new read-only role.