canvas-lms/app
Ethan Vizitei ff056664b2 namespace pseudonyms by authentication provider
closes CNVS-19452

 * add the column and foreign key, uniquely index it,
   and replace the old unique index to make sure it's null
 * change lookup of pseudonyms on log in. CAS/SAML/LDAP
   look for matching or non-namespaced pseudonyms. OAuth
   looks only for matching.
 * update API for creating/exposing the provider info
 * update canvas_authentication modulation so it's only forced to true
   when deleting the LAST aac

test plan:
 * create a pseudonym for a specific provider (via the API)
 * ensure that even it matches for another provider, it's
   not found when you try to log in
 * check a CAS login will find a pseudonym with no provider,
   or the correct one
 * check that a OAuth login won't find a pseudonym not
   associated with any provider
 * finally, check that a OAuth login _will_ work with a
   matching pseudonym

Change-Id: I5d9ef8a992c6e0f6e1d8e13e4fb87d25304d982e
Reviewed-on: https://gerrit.instructure.com/55117
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2015-06-05 15:45:55 +00:00
..
coffeescripts fix issue with long folder names in file tree 2015-06-04 21:39:05 +00:00
controllers namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
helpers [New UI] Modifies rendering of global nav 2015-06-04 20:21:53 +00:00
jsx [New UI] Modifies rendering of global nav 2015-06-04 20:21:53 +00:00
messages use correct route for collaboration subclasses 2015-05-15 18:52:15 +00:00
middleware don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
models namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
observers initial live events implementation 2015-04-03 15:22:33 +00:00
presenters account authorization configs cleanups 2015-06-05 15:45:47 +00:00
serializers add verifiers to user quiz rich content 2015-05-29 23:51:20 +00:00
stylesheets Hide google docs from user services 2015-06-05 15:45:16 +00:00
views account authorization configs cleanups 2015-06-05 15:45:47 +00:00