view discusssions/member.py @ 3:f09ba04b2e29 default tip

adding notes about -> collaborative documents
author Jeff Hammel <k0scist@gmail.com>
date Fri, 26 Mar 2010 14:03:44 -0700
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"""