You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Tim Van Steenburgh <tv...@gmail.com> on 2014/04/15 17:55:47 UTC

Re: approaches for changing our User_id=None handling

+1 


On Tuesday, April 15, 2014 at 11:41 AM, Dave Brondsema wrote:

> Background: Ming thread about changing _id=None handling http://bit.ly/1gyyCio
> 
> Allura uses _id=None for the anonymous user. To support the latest ming
> changes, I am thinking of changes like this:
> 
> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
> 
> Every ForeignIdProperty that references 'User' would have to be updated to use
> AlluraUserProperty. This class would probably also help us in the future,
> if/when we change the anonymous user to use a non-None _id.
> 
> Does this seem like a good way to go about it?
> 
> -- 
> Dave Brondsema : dave@brondsema.net (mailto:dave@brondsema.net)
> http://www.brondsema.net : personal
> http://www.splike.com : programming
> <><
> 
>