Add/Remove user by NetID is case-sensitive (and should also be able to handle non-CAS)
I'm bundling two separate issues together, but they're both fairly small and should be easy to combine.
-
The Add/Remove user by NetID feature of draws is currently case-sensitive - we should downcase the entered username / attribute before querying against it. -
The same feature should be more flexible and generic: -
It should be called Add/Remove by Username
instead of NetID for CAS auth -
It should either take a username if CAS auth is enabled or take an e-mail address if not using CAS auth. The label should update in that situation as well. User.login_attr
will be your friend here, and you may need to play with strong params.
-
Edited by Kevin Tang