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

Introduce Admin setting for controlling (allow/prevent) guest access to My Moodle

    Details

    • Testing Instructions:
      Hide

      // Test guest access

      With:

      • Security -> Site policies: 'Force users to login' enabled.
      • Users -> Permissions -> User policies: 'Auto-login guests' enabled.
      • Appearance -> Navigation: Default home page for users = site/my moodle/user preference

      // guests allowed

      • Appearance -> Navigation: Prevent guest access to My Moodle = no (default)
      1. Logged in as guest go to My Moodle (e.g. by direct url http://your-moodle-domain.com/my).
      2. Expected: My Moodle page shows system default, no editing.

      // guests not allowed

      • Appearance -> Navigation: Prevent guest access to My Moodle = yes
      1. Logged in as guest go to My Moodle (e.g. by direct url http://your-moodle-domain.com/my).
      2. Expected: You should be redirected to front page.
      Show
      // Test guest access With: Security -> Site policies: 'Force users to login' enabled. Users -> Permissions -> User policies: 'Auto-login guests' enabled. Appearance -> Navigation: Default home page for users = site/my moodle/user preference // guests allowed Appearance -> Navigation: Prevent guest access to My Moodle = no (default) Logged in as guest go to My Moodle (e.g. by direct url http://your-moodle-domain.com/my ). Expected: My Moodle page shows system default, no editing. // guests not allowed Appearance -> Navigation: Prevent guest access to My Moodle = yes Logged in as guest go to My Moodle (e.g. by direct url http://your-moodle-domain.com/my ). Expected: You should be redirected to front page.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:

      Description

      This issue proposes an Admin setting for controlling guests' access to My Moodle, which defaults to 'allow' as per current behaviour. If set to prevent guest access, guests trying to enter My Moodle will be redirected to front page.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12