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

Remove the auth_cas plugin

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_500_STABLE
    • MDL-78778-main
    • Hide

      Testing scenario 1: Upgrade without the auth_cas plugin

      1. Stand up a new instance using the stable main branch
      2. Apply the patch
      3. Upgrade Moodle
      4. Log in as an admin
      5. Go to Site Administration> Plugins > Plugins Overview.
      6. Verify there is no longer a mention of 'CAS authentication'
      7. Go to Site Administration> Security > Site security settings>adminpresets.
      8. Verify there is no mention of 'bind_pw@@auth_cas'

      Testing scenario 2: Install without the auth_cas plugin

      1. Apply the patch
      2. Install Moodle
      3. Log in as an admin
      4. Go to Site Administration> Plugins > Plugins Overview.
      5. Verify there is no longer a mention of 'CAS authentication'
      6. Go to Site Administration> Security > Site security settings>adminpresets.
      7. Verify there is no mention of 'bind_pw@@auth_cas'

      Testing scenario 3: Upgrade with the auth_cas plugin (for sites that want to retain this for further use)

      1. Stand up a new instance using the stable main branch
      2. Install Moodle
      3. Enable CAS authentication from Site Administration> Plugins>Authentication
      4. Create some users for Authentication type CAS
      5. Apply the patch
      6. Install the plugin from github: https://github.com/moodlehq/moodle-auth_cas

        git clone https://github.com/moodlehq/moodle-auth_cas.git auth/cas

      7. Upgrade Moodle
      8. Log in as an admin
      9. Go to Site Administration> Plugins > Plugins Overview.
      10. Verify the 'CAS authentication' plugin is available.
      11. Go to the created user profiles.
      12. Verify that the user profiles are showing without an error.
      13. Go to Site Administration> Security > Site security settings>adminpresets.
      14. Verify 'bind_pw@@auth_cas' is available in the config.

       

      Show
      Testing scenario 1: Upgrade without the auth_cas plugin Stand up a new instance using the stable main branch Apply the patch Upgrade Moodle Log in as an admin Go to  Site Administration> Plugins > Plugins Overview . Verify there is no longer a mention of 'CAS authentication' Go to  Site Administration> Security > Site security settings>adminpresets . Verify there is no mention of 'bind_pw@@auth_cas' Testing scenario 2: Install without the auth_cas plugin Apply the patch Install Moodle Log in as an admin Go to  Site Administration> Plugins > Plugins Overview . Verify there is no longer a mention of 'CAS authentication' Go to  Site Administration> Security > Site security settings>adminpresets . Verify there is no mention of 'bind_pw@@auth_cas' Testing scenario 3: Upgrade with the auth_cas plugin (for sites that want to retain this for further use) Stand up a new instance using the stable main branch Install Moodle Enable CAS authentication from Site Administration> Plugins>Authentication Create some users for Authentication type CAS Apply the patch Install the plugin from github: https://github.com/moodlehq/moodle-auth_cas git clone https://github.com/moodlehq/moodle-auth_cas.git auth/cas Upgrade Moodle Log in as an admin Go to  Site Administration> Plugins > Plugins Overview . Verify the 'CAS authentication' plugin is available. Go to the created user profiles. Verify that the user profiles are showing without an error. Go to  Site Administration> Security > Site security settings>adminpresets . Verify 'bind_pw@@auth_cas' is available in the config.  
    • Hide

      Code verified against automated checks.

      Checked MDL-78778 using repository: https://github.com/safatshahin/moodle.git

      More information about this report

      Built on: Thu Feb 13 05:46:35 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-78778 using repository: https://github.com/safatshahin/moodle.git main (0 errors / 0 warnings) [branch: MDL-78778-main | CI Job ] More information about this report Built on: Thu Feb 13 05:46:35 AM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-78778 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18234/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62278/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62279/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62280/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62281/ App tests (stable app version) / complete) Built on: Tue Feb 11 01:48:33 AM UTC 2025
    • 6
    • Team Dragons 2025 Sprint 1.2

      LlI'm raising this issue to drop core support for auth_cas an move it to the community.

      The rationale here is that we are unable to test it, and to work on any features for it as we do not posess the required knowledge, or testing environments.

      Whilst we do have a docker container for testing it, we are unable to upgrade that container, and we have no in-house knowledge or use of it either. The official docs are useless.

      I propose that we drop auth_cas as soon as possible. If anyone from the community is actively using it, then I would encourage them to adopt the plugin and take ownership of it.

      Usage

      The CAS Auth plugin is currently used in 0.08% of 4.3 and above registered sites (n = 153K)

            safat.shahin@moodle.com Safat Shahin
            dobedobedoh Andrew Lyons
            David Woloszyn David Woloszyn
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            4 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 38 minutes
                1d 1h 38m

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