summaryrefslogtreecommitdiff
path: root/coip/apps/userprofile/views.py
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-07 14:34:14 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-07 14:34:14 +0200
commit99a05864a9a9ff8ac1c68400f111ede67cf3fe28 (patch)
tree470f3c631d52a860ec5376c9993a61a1eaee2688 /coip/apps/userprofile/views.py
parent63ec9216a9d85c80499fef9e0d9682d09ffa2875 (diff)
first take at minimal opensocial
Diffstat (limited to 'coip/apps/userprofile/views.py')
-rw-r--r--coip/apps/userprofile/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coip/apps/userprofile/views.py b/coip/apps/userprofile/views.py
index 3ca4416..5829fc3 100644
--- a/coip/apps/userprofile/views.py
+++ b/coip/apps/userprofile/views.py
@@ -48,6 +48,7 @@ def home(request):
profile = user_profile(request)
home = lookup('user:'+request.user.username,autocreate=True)
home.short = "%s (%s)" % (profile.display_name,profile.identifier)
+ profile.home = home
home.save()
add_member(home,profile.user,hidden=True)
home.setacl(home,"rwlda") #don't allow users to delete or reset acls on their home, nor invite members - that would be confusing as hell