Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
The problem is that the roles installation was duplicating the records - install was failing for me because it was creating duplicates in allow role assign table
I believe that hacks like this should not be done at the lowest level, instead they should be moved much closer to UI code
committing patch that comments out the second allow role assign and override from moodle_install_roles()
Linking with refactoring required for Moodle External API
Solution could be: