Restricting Users

Restricting Users

by Matt Softly -
Number of replies: 2

We are in mid-implementation of Moodle in a college containing around 2300 students, on approximatly 200 courses. Before unleashing the system on our students we are training up the staff, and already a number of issues/ideas have been raised.

1. By default, all users can change their password (if the authentication method is set to manual) I haven't found a simple way to turn this off through Moodle's Interface, and so have hard-coded the change, so passwords can only be changed by the Administrator.

2. Also, the users can change their own details by default. While I can see an obvious advantage to allow users to do this - it makes the system appeal to students if they can change their description and photo / image - but this also opens up (initially) the system to abuse. We are worried about students potentially changing their images to pornography, or writing unwanted comments in their descriptions. Our system has already been tested with a few classes of students, and already we have a ''Tupac Amaru Shakuar" attending our college.

Again, I have hard-coded a change, so that only administrators can edit profiles.

Maybe these options could be implemented in future releases of Moodle? Say as an option in the Administrator's tools?

 
Matt Softly

Average of ratings: -
In reply to Matt Softly

Re: Restricting Users

by Marilyn Fleming -

You can prevent users from changing their passwords without recoding  -- Authenticate with an external db, and leave the field for "URL to change password" blank.

I also needed to prevent them from changing some of the other details. (Actually, I just wanted to make the user profile form less intimidating -- my users are not exactly computer literate.) What I did was change the template in user/edit.html.

Personally, I would like site configuration to let me define a list of non-required, defaulted, user profile fields.

In reply to Matt Softly

Re: Restricting Users

by Reza Muhammmad -
I have same problem with you...
but my moodles not already used.
could u tell me where i can change the code that only administrator can edit profiles..?

regards,

Reza