incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Bondarenko" <>
Subject [allura:tickets] #7029 AuthProvider should be able to add routes to /auth/
Date Tue, 25 Feb 2014 08:55:42 GMT
- **status**: in-progress --> code-review


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

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 06, 2014 11:10 PM UTC by Dave Brondsema
**Last Updated:** Wed Jan 08, 2014 06:57 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