Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11143

Add a new setting "defaultfrontpageroleid" where you choose a role for all users on the front page course

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9
    • 1.8, 1.9
    • Roles / Access
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_19_STABLE

      If we revive this pre-roles setting, we can hack things to give all people an automatic role on the site course.

      (Something like the defaultuserroleid, it would be a new defaultfrontpageroleid)

      The login process would add this automatically to in the capabilities cached structure, and some of accesslib needs to be hacked (like get_users_by_capability) to check for this and return ALL users in this case.

      Yu, can you identify a list of areas that would need to be hacked for this solution and possibly produce a patch here?

            lazyfish Yu Zhang
            dougiamas Martin Dougiamas
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.