0
|
1 { 'email': ,
|
|
2 <arbitrary metadata: name, birthday, address, favorite ice cream, etc>
|
|
3 'password': 'secret',
|
|
4
|
|
5 }
|
|
6
|
|
7 # you sign in with an email address
|
|
8 # email addresses should be multiple
|
|
9
|
|
10 def Member(object):
|
|
11
|
|
12 def role(self, discussion):
|
|
13 """
|
|
14 member's role with respect to discussion or conference;
|
|
15 returns 'admin', 'member', or None
|
|
16 """
|
|
17
|
|
18 def add(self, discussion):
|
|
19 """adds a member to a discussion"""
|
|
20
|
|
21
|
|
22
|
|
23
|