view discusssions/member.py @ 1:79ba50af9443

add more notes
author k0s <k0scist@gmail.com>
date Mon, 04 Jan 2010 21:17:41 -0500
parents c904249afb04
children
line wrap: on
line source

{ 'email': ,
  <arbitrary metadata: name, birthday, address, favorite ice cream, etc>
  'password': 'secret',
  
}

# you sign in with an email address
# email addresses should be multiple

def Member(object):

    def role(self, discussion):
        """
        member's role with respect to discussion or conference;
        returns 'admin', 'member', or None
        """

    def add(self, discussion):
        """adds a member to a discussion"""