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

[C2] Extend the user.auth_source field #6046

Open
6 tasks
ywarnier opened this issue Jan 24, 2025 · 0 comments
Open
6 tasks

[C2] Extend the user.auth_source field #6046

ywarnier opened this issue Jan 24, 2025 · 0 comments
Assignees
Milestone

Comments

@ywarnier
Copy link
Member

ywarnier commented Jan 24, 2025

The user table contains an auth_source field that stores the platform value by default.
If a user has to be authenticated through an extra authentication method, this field has to be changed to the authentication method.

However, in recent months, several users of Chamilo have reported that, in certain circumstances, you might want to offer the possibility for users to login via different, redundant mechanisms.

This would imply saving several auth_source for every single user,, which is not really an option at the moment.

Modify the user entity and all related resources to store the value of auth_source as an array rather than a simple string. This will allow us in the future to handle several authentication methods per user.

  • convert entity
  • create migration to transform the current values in auth_source to array
  • verify import scripts
  • verify backup/restore scripts
  • verify cronjobs
  • verify authentication methods and plugins to ensure compatibility
@ywarnier ywarnier added this to the 2.0 milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants