incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7029 AuthProvider should be able to add routes to /auth/
Date Wed, 08 Jan 2014 18:57:27 GMT
`UserPreferencesProvider` might be slightly better than `AuthenticatonProvider` since this
is more about additional preferences.    


** [tickets:#7029] AuthProvider should be able to add routes to /auth/**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Mon Jan 06, 2014 11:10 PM UTC by Dave Brondsema
**Last Updated:** Mon Jan 06, 2014 11:10 PM UTC
**Owner:** nobody

Some auth providers may want to add additional user configuration pages under `/auth/`.  The
`AuthenticationProvider` class already allows a lot of configuration, but can't add new url
handling.  We should extend it to have a new method which may return references to methods
and/or controllers to add.  Then `AuthController.__init__` can just loop through those and
use `setattr()` to add them to itself.  Default implementation should `return []` (so existing
providers work fine) and have a docstring.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message