Look up missing users from the auth backend when using submit-as.

Review Request #5045 — Created Dec. 3, 2013 and submitted

Information

Review Board
master

Reviewers

Look up missing users from the auth backend when using submit-as.

submit-as was only accepting users who were already in the database.
Unlike other places where users are specified, such as during login
or target reviewers, the auth backends were never checked. We now
loop through the auth backends looping through a user if we can't find
it in the database.

Unit tests pass.

Description From Last Updated

Shouldn't this be if not local_site ?

daviddavid
david
  1. 
      
  2. Shouldn't this be if not local_site ?

    1. Doh, yep. Teaches me to refactor that code just before putting it up for review. (it was `if local_site: user = None; else: ...')

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...