880: Custom auth backends should be able to "interact" with prefs.html

lukasz*******@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
Dec. 14, 2010
Some auth backends do not provide all informations required to correctly
set up a user profile in review board. IMHO a good idea would be adding a
property/method to the auth backend which could specify if the backend
provides fields like email/first name/etc if not the user would be
presented with the same fields as for the "builtin" backend on first login,
except those provided by the specified backend. It would require adding
additional "if" statements in prefs.html but this shouldn't add much overhead.

My specific use case is that I'm using a http auth backend where I only get
the codes 403 for wrong username/password sets or a 200 one for valid
combinations (+some pretty useless data like a username which I already
have;) After that the user has to enter the rest of his details by himself,
especially the email address.
chipx86
#1 chipx86
We need to find a way to address this. The issue is getting the backend that handled
the particular user. I don't know how to do that off-hand.
  • +Confirmed
  • -Type-Defect
    +Type-Enhancement
    +Component-Accounts
chipx86
#2 chipx86
  • +Milestone-Release1.6
  • +chipx86
chipx86
#3 chipx86
Added on master. This will be in Review Board 1.6. There will be new documentation on writing these.
  • -Confirmed
    +Fixed