-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 2.8.1
-
Any
-
MOODLE_19_STABLE, MOODLE_28_STABLE
This improvement corresponds to the Moodle administrator's tool: Bulk user actions. It resolves the problem of fixed list of actions in this tool and makes adding new ones easier.
The updated tool has plugin structure: all actions are stored in /admin/user/actions/ folder; each action has its own folder with index.php, other scripts if necessary, and lang folder to store strings.
The "standard" actions were reorganized to comply to this structure, and two more actions were added: bulk user enrolment and bulk user unenrolment. Those two simplify the procedure of enroling/unenroling multiple users to/from the same list of courses with the same roles.
Also, a small update of user filters class is added here - a button to replace all active filters with new one.
The tool is divided on subtasks, and each of them is installed via applying the corresponding patch. Subtasks also contain details about implemetation.
Bulk user action plug-in structure looks very similar to gradebook reports; we've tried to make it systematic and ready to be implemented in the standard Moodle distrib. In fact, only change which is necessary to do it is "registering" bulk user actions in the core function of retrieving language string locations. This would remove necessity in one string argument in each get_string call within actions. Currently "additional locations" are used, so the installing of update is easier.
- has been marked as being related by
-
MDL-26612 Search for user processes ... think like an administrator
- Reopened
-
MDL-47742 Unenrol and enrol users from the profile page
- Closed
- will be (partly) resolved by
-
MDL-38511 Plugins should be able to define new bulk user actions
- Closed
- will help resolve
-
MDL-16701 Bulk user enrol hard-codes the student role id as 5 and incorrectly shows teachers as enrolled
- Closed
-
MDL-10002 A way to easily assign a user roles in many different places
- Closed
-
MDL-13064 Add "Log off immediately" to bulk user actions
- Closed
-
MDL-13557 Create a Bulk User Action to Force Password Change
- Closed
-
MDL-15593 Enhance bulk user actions to allow assignment of an arbitrary role in an arbitrary context
- Closed
1.
|
Plug-in bulk user actions architecture | Closed | Unassigned | |
2.
|
Bulk user enrolment and unenrolment | Closed | Unassigned | |
3.
|
"Replace filters" button | Closed | Moodle HQ | |
4.
|
Email as non-advanced filter field | Closed | Unassigned | |
5.
|
Removing selected users from all available in bulk user actions | Closed | Unassigned | |
6.
|
"Replace filters" button | Closed | Unassigned |