diff discusssions/member.py @ 0:c904249afb04

initial commit of discussions
author k0s <k0scist@gmail.com>
date Sat, 02 Jan 2010 13:36:23 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/discusssions/member.py	Sat Jan 02 13:36:23 2010 -0500
@@ -0,0 +1,23 @@
+{ '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"""
+
+    
+
+