Comments (3)
Hi Luca,
thank you for raising this issue!
If you look at https://github.com/moodleuulm/moodle-local_bulkenrol#capabilities, you will see:
By default, Moodle users are not allowed to use the functionality provided by this plugin. As administrator, you can selectively grant users the ability to use this functionality by adding the local/bulkenrol:enrolusers capability to an appropriate Moodle role.
We built it that way by purpose as we thought that not every teacher should be able to use the bulk enrolment tool just by installing this plugin. The admin should think first which role should be able to use this tool or not.
However, I would agree that managers could / should be able to use this tool by default.
Would it be ok for you if I just added the manager archetype to db/access.php, but not the editingteacher archetype?
Cheers,
Alex
from moodle-local_bulkenrol.
Dear Alex
Yes, sure.
That's exactly the spirit. The editingtecher has to be 'unlocked' with purpose. But manager should get the cap automatically.
My code should have looked like this
'archetypes' => array(
'manager' => CAP_ALLOW
),
Best,
Luca
from moodle-local_bulkenrol.
Thank you, Luca.
This has been implemented now in 8a7a585.
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
- 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
- Group membership only HOT 1
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.