Mercurial > hg > discussions
annotate 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 |
rev | line source |
---|---|
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 |