Go to file
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
Gemfile.d bump bundler version 2015-06-04 14:52:29 +00:00
app namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
bin rails 4.0.10 2014-09-16 22:07:39 +00:00
client_apps Alters attempt indicators for a11y 2015-03-05 19:58:35 +00:00
config fix another sso settings population migration 2015-06-05 15:09:10 +00:00
db/migrate namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
doc endpoint for identifying assignments for bulk grade export 2015-05-27 15:33:37 +00:00
docker-compose spec: ensure we wait for a new page load when doing a get 2015-05-02 13:21:05 +00:00
gems Dont throw errors when a permission isnt found when trying to delete it 2015-06-01 20:31:23 +00:00
guard don't make coffee sourcemaps, it's easier to debug real js 2015-06-02 15:53:28 +00:00
lib namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
public [New UI] Modifies rendering of global nav 2015-06-04 20:21:53 +00:00
script Remove migration_lint 2015-05-04 15:28:34 +00:00
spec namespace pseudonyms by authentication provider 2015-06-05 15:45:55 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.dockerignore docker-compose based dev environment 2015-03-30 20:59:48 +00:00
.fontcustom-manifest.json Add Import/Export Icons 2015-02-19 16:26:52 +00:00
.gitignore don't make coffee sourcemaps, it's easier to debug real js 2015-06-02 15:53:28 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.rubocop.yml turn off Rubocop::Cop::Style::WhileUntilModifier 2015-04-28 17:20:55 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md add a contributing doc for github coolness 2012-09-19 10:16:04 -06:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile use eval_gemfile for bundler goodness 2015-02-18 18:15:14 +00:00
Guardfile added jsx 2014-11-03 23:20:33 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile remove rails 2 support 2014-08-06 18:16:19 +00:00
bower.json Converts new styles navigation to React 2015-05-29 18:35:59 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
docker-compose.yml allow *.canvas.docker in the docker-compose dev environment 2015-04-23 16:47:09 +00:00
karma.conf.js address a number of issues with the js test suite 2015-02-20 16:35:17 +00:00
package.json Make changes for node 12/iojs. 2015-03-05 22:43:38 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.