← Back to team overview

launchpad-dev team mailing list archive

Re: Launchpad persona in Launchpad

 

On 2011-05-24 00:50, Curtis Hovey wrote:

I have long wanted IPerson to have acknowledge that the actor may be a
user, a team, or a robot. We add ITeam to the object on __init__. I
would love the model to support IRobot.
That sounds useful, and it would help overcome the weirdness of ad-hoc 
Persons for different components of Launchpad if that's what we decide 
to keep doing.  If we had a Launchpad persona, we'd want it to be an 
IRobot(*).
It probably doesn't make it any easier to create those ad-hoc persons in 
the sample and production databases and access them from the code.  But 
if we only have one person to represent "Launchpad itself" like I'm 
proposing, that really won't matter and our code could use that person 
freely.

Jeroen

(*) Just admit the Asimov reference.


References