- Posts: 10
Add Moodle System roles automatically
- Broadside
- Topic Author
- Offline
- New Member
-
Less
More
11 years 5 months ago - 11 years 5 months ago #1
by Broadside
Add Moodle System roles automatically was created by Broadside
Hi there,
For our site, I really want to be able to automatically add users to Moodle system roles based on their Joomla group.
e.g. Users in the Joomla Staff group are automatically added to the Teacher system role in Moodle.
I've been Googling around for a while but I cannot see any way to do this.
I did find a post from 4 years ago for Joomdle 0.25 here:
www.joomdle.com/forum/feature-requests/3...for-moodle-in-joomla
where it was said it was "added for next release"
Was this ever added, do you know? And if so, how would I use it?
Thank you!
Edit: I am currently on Joomdle 0.94, but updating to 1.0 tomorrow.
Joomla is 3.3.6 and Moodle is 2.7.2
For our site, I really want to be able to automatically add users to Moodle system roles based on their Joomla group.
e.g. Users in the Joomla Staff group are automatically added to the Teacher system role in Moodle.
I've been Googling around for a while but I cannot see any way to do this.
I did find a post from 4 years ago for Joomdle 0.25 here:
www.joomdle.com/forum/feature-requests/3...for-moodle-in-joomla
where it was said it was "added for next release"
Was this ever added, do you know? And if so, how would I use it?
Thank you!
Edit: I am currently on Joomdle 0.94, but updating to 1.0 tomorrow.
Joomla is 3.3.6 and Moodle is 2.7.2
Last edit: 11 years 5 months ago by Broadside. Reason: added version info
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
11 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Add Moodle System roles automatically
Hi.
I don't really know what that linked topic talks about, but it is not what you need, as that is not available in Joomdle. I checked to be sure, and we don't have any web services to add system roles, only to add course roles.
So, if I understand it right, what you woul need is a way to map Joomla user groups and Moodle system roles.
For this, some things would be needed:
- Create new webservice in Moodle to assign system roles
- Create new component in Joomla to define group-role relationships
- Create new user plugin, that runs when user is saved, and checks user groups, calling web service to add system role if needed
Before, you would need to pay for custom development of all this. But now we have moved to a subscriptions system.
If we were to develop this, it would be added as a download for members only.
For you, you would get what you need for only the cost of a 1-year subscription, much cheaper than paying for full development.
Please let us know if you are interested.
I don't really know what that linked topic talks about, but it is not what you need, as that is not available in Joomdle. I checked to be sure, and we don't have any web services to add system roles, only to add course roles.
So, if I understand it right, what you woul need is a way to map Joomla user groups and Moodle system roles.
For this, some things would be needed:
- Create new webservice in Moodle to assign system roles
- Create new component in Joomla to define group-role relationships
- Create new user plugin, that runs when user is saved, and checks user groups, calling web service to add system role if needed
Before, you would need to pay for custom development of all this. But now we have moved to a subscriptions system.
If we were to develop this, it would be added as a download for members only.
For you, you would get what you need for only the cost of a 1-year subscription, much cheaper than paying for full development.
Please let us know if you are interested.
Please Log in or Create an account to join the conversation.
- Broadside
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
11 years 5 months ago - 11 years 5 months ago #3
by Broadside
Replied by Broadside on topic Add Moodle System roles automatically
That sounds really good, thank you!
Have just got permission from the higher-ups to sign up for a 1-year subscription, so I'll go ahead and sign up now
Edit: Done!
Have just got permission from the higher-ups to sign up for a 1-year subscription, so I'll go ahead and sign up now
Edit: Done!
Last edit: 11 years 5 months ago by Broadside.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
11 years 5 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Add Moodle System roles automatically
Hi Andy, thanks for subscribing.
I will work on the new code, and will contact you by emai to send you the packages when they are ready, so you can test them before release.
I will work on the new code, and will contact you by emai to send you the packages when they are ready, so you can test them before release.
Please Log in or Create an account to join the conversation.
- Broadside
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
11 years 5 months ago #5
by Broadside
Replied by Broadside on topic Add Moodle System roles automatically
Amazing thank you
Please Log in or Create an account to join the conversation.