Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace unmaintained django-cas-client by django-cas-ng #1245

Open
wants to merge 8 commits into
base: pod_V4
Choose a base branch
from

Conversation

Badatos
Copy link
Collaborator

@Badatos Badatos commented Jan 9, 2025

As django-cas-client (https://github.com/kstateome/django-cas) hasn't been updated since 2019, this PR replace it by more up-to-date django-cas-ng (https://github.com/django-cas-ng/django-cas-ng) (last updated last month)

  • Replace "get" method in logout by "post" ("get" will be deprecated in django 5.x)
  • Add pod_affiliation_handler() func to set staff status to CAS users with AFFILIATION in AFFILIATION_STAFF
  • Replace CAS_RESPONSE_CALLBACKS by `cas_user_authenticated_callback
  • Check auto group creation from affiliations

+ Replace "get" method in logout by "post" ("get" will be deprecated in django 5.x)
Copy link

gitguardian bot commented Jan 9, 2025

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@Badatos Badatos self-assigned this Jan 9, 2025
@Badatos Badatos changed the title [WIP] Replace unmaintained django-cas-client by django-cas-ng [DONE] Replace unmaintained django-cas-client by django-cas-ng Jan 17, 2025
@Badatos Badatos changed the title [DONE] Replace unmaintained django-cas-client by django-cas-ng Replace unmaintained django-cas-client by django-cas-ng Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant