Enrolment Expiry Notification - Sender's email address is wrong - Moodle 2.9.3

Re: Enrolment Expiry Notification - Sender's email address is wrong - Moodle 2.9.3

by Sara Arjona Téllez -
Number of replies: 1
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Sam!

Happy holidays also to you! smile

The enroller variable is the user who is responsible for the enrolment instance in this course. Usually it is the first editing teacher - the person with "highest authority" as defined by sort_by_roleassignment_authority() having 'enrol/self:manage' capability.

Does it helps you? wink

Kind regards,

Sara

In reply to Sara Arjona Téllez

Re: Enrolment Expiry Notification - Sender's email address is wrong - Moodle 2.9.3

by Debbie Kay -

Hi

I know this is an old post, but I am trying to resolve the same issue in Moodle 3.4

Can anyone expand on where I see and set the person with 'highest authority'?

As per Saras comment  "Usually it is the first editing teacher - the person with "highest authority" as defined by sort_by_roleassignment_authority() having 'enrol/self:manage' capability."

Many thanks!

Average of ratings: Useful (1)