History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-10585
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Howard Miller
Reporter: Howard Miller
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Moodle

Very difficult to control who is the teacher named on the 'you need an enrolment key from' page.

Created: 24/Jul/07 06:33 PM   Updated: 04/Jun/08 12:09 AM
Component/s: Enrolments
Affects Version/s: 1.8.1, 1.8.2
Fix Version/s: 1.8.3, 1.9

Participants: Helen Foster, Howard Miller, Mark Berthelemy and Ray Lawrence
Security Level: None


 Description  « Hide
The manual enrolment plugin pulls the name of whoever happens to be first in the list of users who have moodle:course/update capability and displays that as the contact for the enrolment key. That's a bit unsophisticated. It's very difficult to manipulate who that name will be and getting the wrong name here can be a major annoyance to the victim.

My suggestion would either allow the contact to be specified in the course settings or to dump it altogether.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Ray Lawrence - 25/Jul/07 05:29 AM
Agree with this, however, we need to be careful who can be specified. Increasingly the person with the key is not a "teacher" but someone in an administrative role. There may eve be more than one contact. An interface like the one where individuals are assigned to roles would be ideal to specify the key holder. Dropping the message would be a significant backward step IMHO, even with the frustrations recorded here.

Howard Miller - 25/Jul/07 04:19 PM
Yes, that's *exactly* the problem we have. The contact role is an administrator which is down the "pecking order" on the roles list. The current situation is that some professor gets named which is actually turning into something of a political problem. I wouldn't want to take it out either ideally.

Howard Miller - 25/Jul/07 04:21 PM
I don't mind doing the work to sort this out, but I'm really not sure what the interface would look like (or where it would be). I'm hoping for inspiration for that "really clever" solution :-)

Ray Lawrence - 25/Jul/07 04:36 PM
What bout the interface in groups for selecting people. It's familiar and is hidden away until needed. Hmmm... for ultimate flexibility how about the message in Users > Authentication? This has default text if left empty but will display whatever alternative is entered..... This would help if the admin person does not have an account on the site too.

Howard Miller - 25/Jul/07 04:52 PM
I suspect that most people will want the named person to actually be a "teacher" on the course - the alternative is probably lots of boxes for a minor function. I guess a dropdown under the enrolment key to select the person (in course settings) would do the job. Would need to think about what happens if you then remove that person from the course - but at least you would be able to change it!

Ray Lawrence - 25/Jul/07 05:02 PM
I have to disagree with this, I'm afraid (and doesn't it contradict your comments at 04.19?). Limiting a list of candidates to a list of those in a "teacher" role will negate the opportunity to select someone who has an administrative role for the site and is not necessarily directly involved in the courses. Linking this to accounts in some way assigned to a role in a specific course would be a bad thing IMHO, not least for the reason in above i.e when a person is removed from a course.

Howard Miller - 25/Jul/07 05:23 PM
Sorry, I actually meant "not a student". I'm just concerned that you end up with a select box for people who are registered in the site and an edit box(es) for those who are not. I don't think that it's unreasonable that the person should at least be authenticated on the Moodle site and I don't really see why they wouldn't have some rights over the course even if assigned at some higher level with limited rights. Tricky!

Ray Lawrence - 25/Jul/07 05:36 PM
Np. personally, I think that for the "key contact" to have an account on the site is a reasonable requirement. I was in blue sky mode above. Whatever additional capabilities they need can be address in the normal way.

I still thing the opportunity to be able to select more than one person would be good...

Howard Miller - 25/Jul/07 05:50 PM
Just use a list box then, so that multiple names can be control-clicked.

Ray Lawrence - 25/Jul/07 05:54 PM
Sounds like a plan....

(as we're in conversation I'm reminded of a couple of question export things which I've been meaning to log.... watch you inbox... :0))

Helen Foster - 27/Jul/07 05:17 PM
Hi Howard and Ray,

A possible solution (thanks to Yu!) is to create a role called Key holder with only course:update allowed then use the up arrows to move it above the teacher role in Administration > Users > Permissions > Define roles. A teacher can then be assigned this role in the course context.

Howard Miller - 27/Jul/07 05:21 PM
Thanks Helen,

Good workaround, sounds like an FAQ entry :-)

Howard Miller - 27/Jul/07 05:25 PM
Meant to add....

...the problem is that what we have is something like Course Director, Lecturer, Lecturer, Course adminstrator and "politically" the course administrator has to go at the bottom of the list but in order to be the contact name for the key they actually need to be at the top. Calling this role something more neutral *may* help, but I can still see complaints that the Director is not at the top. Nowt so strange as Folk, etc.

Howard Miller - 27/Jul/07 06:53 PM
Mmm... possible flash of inspiration:

What about if we add an option in the Course Settings to specify the *role* of the keyholder. This means that the poor secretary role (or indeed Keyholder role) can sit at the bottom of the list yet be picked up as the keyholder. This would also allow more than one to be listed as long as they are assigned to the appropriate role.

Ray Lawrence - 27/Jul/07 06:57 PM
Thanks Helen, that's a useful short term workaround. Even setting aside the political sensitivities, I think a Howard's earlier proposals need implementing. I think that not having to use roles for this would be a good thing in general, as it's a notification mechanism only.......

Howard Miller - 27/Jul/07 07:54 PM
Ray,

What do you think about my previous comment in about specifying the role. It could actually be done as a simple addition to the Administration=>Appearance=>Course Managers page sitewide with the distinct advantages of being a config setting (hence no database changes).

Ray Lawrence - 27/Jul/07 08:06 PM
Sounds good to me.

Howard Miller - 01/Aug/07 08:40 PM
Sorted - there is now an option to specify the role in the manual enrolment plugins. If, in a course, users are assigned to that role they will be displayed as the contact names for the enrolment key. If there are non assigned or the setting is unset the enrolment page reverts to the original behavious (first person with update rights)

Ray Lawrence - 01/Aug/07 08:53 PM
Not seeing this yet from CVS ... but do you think there is a case for this being located in the site Admin menu a la Course Managers. Or is this database related?

Ray Lawrence - 01/Aug/07 09:04 PM
It was there (I can't read). Works as advertised. Great work! Many thanks.

Mark Berthelemy - 21/Apr/08 04:42 AM
I found this thread eventually... but still can't get it to work. I've set up a user (support) with only the role "Support". This role only has permission to update courses. I've set the manual enrolment plugin to look for this role. I've even put that role at the top of the site roles list. But, still, I see my name on the enrolment key page (I've got admin rights).

The even more confusing thing is that the welcome email that comes out when a learner enrols has another administrator's name in the from field...? How do I get the Support user's email address put in the from field of the welcome email?

Helen Foster - 02/Jun/08 11:40 PM
Hi Mark,

I assume from your forum posting http://moodle.org/mod/forum/discuss.php?d=96614 that you've managed to get the keyholder to appear on the enrolment key page.

Is the from address of the welcome email working fine too?



Mark Berthelemy - 04/Jun/08 12:09 AM
Hi Helen,

Yes, I've got the keyholder on the enrolment key page, and, as long as you've manually added the keyholder to the support role for each course then the welcome emails come from the right place.

Thanks,

Mark