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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.9
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lazyfish Yu Zhang
                Reporter:
                dougiamas Martin Dougiamas
                Tester:
                Helen Foster
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08