Add service attribute to LDAP user entry #91
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/ldap_services"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a new service attribute to LDAP user entries, as well as methods to enable and disable services. This can then be used in LDAP filters for the various services to only allow users with the enabled service to actually log in.
New users automatically get the entries added when confirming their account. Once services are configured to check for the new attribute/role, this also fixes the current problem of users being able to log in to services before having confirmed their email address.
Adding default services for existing users in production should be easy with the Rails console:
👍