Comments (1)
Hi @kinnectus ,
thank you for your proposal and sorry for my late reply.
I understand your scenario and your needs.
Currently, the plugin only has the local/bulkenrol:enrolusers capability which allows teacher to do everything the plugin provides - especially enrol users with the configured enrolment method and especially regardless if they are allowed to enrol users individually into the course.
I think a wise approach would be:
- To introduce a new capability local/bulkenrol:use. This capability will control if a user sees the "User bulk enrolment" menu item or not and will have to be replaced in the existing has_capability() checks in lib.php and index.php
- To introduce a new capability local/bulkenrol:adduserstogroup. This capability will allow users to add to create groups with the plugin and to add users to the groups.
- To limit the scope of the existing capability local/bulkenrol:enrolusers to control if users are able to enrol users with the plugin into courses or not.
- To enhance the language pack and existing get_string() calls in a way that all help texts and strings only show the possibilities a user has (i.e. to enrol users and / or to add users to groups)
- To enhance the existing Behat tests
- To enhance the README file
- To update the CHANGES.de file
Currently and in the foreseeable future, we don't have the need and the ressources to implement this addition. However, I will be happy to review a well-crafted pull request of you if you have time to build one.
Cheers,
Alex
from moodle-local_bulkenrol.
Related Issues (17)
- The requested URL /user/index.php was not found on this server. HOT 1
- Bulk Enrollment 3.4,Users are Enrolled as teacher role HOT 3
- Teacher/Faculty cannot see bulk enrolment method HOT 3
- Enroll of Suspended users HOT 1
- enrol users by username HOT 1
- Upgrade plugin to Moodle 3.11 HOT 1
- How to select the role during bulk enrollment ? HOT 2
- Manager do not have cap local/bulkenrol:enrolusers HOT 3
- Erroneous 'em>' being added to end of email addresses HOT 1
- Navigation in 4.0 HOT 4
- Case sensitive option HOT 2
- should privacy class be using polyfill? HOT 1
- PARAM_RAW used when it looks like PARAM_ALPHANUMEXT should be used? HOT 1
- Storing stuff in $SESSION not ideal HOT 3
- bar.com is a valid domain and should not be used in examples. HOT 1
- Problems with Bulk Enroll HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-local_bulkenrol.