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-10181
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Yu Zhang
Reporter: Andrei Bautu
Votes: 0
Watchers: 3
Operations

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

User Management Improvements

Created: 20/Jun/07 04:19 AM   Updated: 27/Dec/07 06:49 PM
Component/s: General, Administration, Enrolments, Roles
Affects Version/s: 1.9
Fix Version/s: 1.9

File Attachments: 1. Zip Archive userassignroles.zip (5 kb)

Issue Links:
Relates
 

URL: http://docs.moodle.org/en/Student_projects/User_Management_Improvements
Participants: Andrei Bautu, Chris Fryer, Koen Roggemans, Lorenzo Nicora, Mitsuhiro Yoshida and Yu Zhang
Security Level: None
QA Assignee: Yu Zhang


 Description  « Hide
The main working directions established in the GSoC 2007 proposal are:
* Improve the User features in moodle to allow bulk-operations.
** Create an interface to do bulk operations on users (e.g. delete users, reset passwords etc) This could potentially use an AJAX implementation for multiple filtering/selection of required students for bulk operations.
** Overhall the CSV upload features to allow more flexibility (more options, features to auto-generate more fields such as usernames)
* Enrolment
** Specify time of manual enrollments (MDL-8877)
* Notes
** Allow teachers to put notes for each student in every course, much requested feature

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Lorenzo Nicora - 14/Jul/07 04:10 AM
Interface for bulk operations on users should also allow enrolling (and unenrolling) to courses (or assigning role in a context)

Chris Fryer - 09/Aug/07 12:23 AM
Following Lorenzo's suggestion, I've put together an interface for assigning roles to a single user in multiple contexts. It's hacked together from /admin/user.php and /admin/roles/assign.php

It isn't anything like as ambitious as the project you've outlined, and may in fact be superseded by the full release of Moodle 1.9. At the very least, the functions in userassignroleslib.php might prove useful. They get contexts in which the user is assigned a given role, and the contexts in which the user is not. Perhaps they should really go into /lib/datalib.php

I haven't put any of the new messages into a language pack, and don't know if I need to make special allowances for MNET users. My concerns should be fairly obvious in the comments.

I hope it's useful to you. If not, maybe it could at least go into an upcoming 1.8.x release.

Regards,

Chris

Koen Roggemans - 26/Aug/07 06:05 PM
I hope I'm posting in the right bug here ...

I noticed that it is possible to include default values for uploading users from a text file - great idea.
But I don't see the point in having an account name in this form. I suggest to take it out. Also the help file needs replacing (not updating) since the page contains new functionality

Andrei Bautu - 26/Aug/07 06:52 PM
> I don't see the point in having an account name in this form.

Values of fields in "Default values" section are proccesed as templates where some special character sequences are replaced with other values (eg. %f is replaced by the first name of the user). This way, if you want so, your CSV file can contain only the first and last names of users, and all other fields, including the username, will be generated based on them.
The help file has been updated to present this features, while the other (basic) features information are still there.

Koen Roggemans - 26/Aug/07 08:59 PM
Thanks, see it now.
I would have preferred that the helpfile was replaced one with another file name (uploadusers2.html).
This way the (rather important) changes will never make it to the translated help files.

Yu Zhang - 27/Aug/07 03:26 PM
Hi Koen,

Sorry I let this one slip. Reverted uploadusers.html and added uploadusers2.html.

Cheers,

Yu

Mitsuhiro Yoshida - 29/Aug/07 01:25 AM
Hi Yu,

The contents of help file en_utf8\help\filters\date.html seems to be duplicated.
Could you please check the help file?

Mits

Yu Zhang - 30/Aug/07 10:24 AM
Hi Mits, thanks, removed now =)

Yu Zhang - 28/Sep/07 03:33 PM
Thanks Andrei for the good work, all code in 1.9, closing now. Please file separate bugs (if any).