enrol/saml 13-06-2019
- Refactor: following moodle code style.
- Avoid unenrolling courses that are on enroll list
- Add support for group (assign/unassign), create new group if not exists.
- Add Log for recording actions: enrol into course, unenrol from course, create group, assign group, unassign a group.
- Improve process verifying before executing enroll/unenroll action if the user is assigned to the course for that role.