view discusssions/member.py @ 2:910fa7e781b9

update whitepaper
author k0s <k0scist@gmail.com>
date Tue, 02 Feb 2010 16:39:08 -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"""