summaryrefslogtreecommitdiff
path: root/meetingtools/apps
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-11-01 01:25:41 +0100
committerLeif Johansson <leifj@sunet.se>2012-11-01 01:25:41 +0100
commitdb12b0bb274351b25ff9526d4bd632971aeb55f9 (patch)
tree94b0edde6857a52a48a993716ab2021b09f288d5 /meetingtools/apps
parentf131d65477d055c5a50cadd719c2c46d69e00289 (diff)
make archives public when published
Diffstat (limited to 'meetingtools/apps')
-rw-r--r--meetingtools/apps/archive/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meetingtools/apps/archive/models.py b/meetingtools/apps/archive/models.py
index 3bacec1..9d640f3 100644
--- a/meetingtools/apps/archive/models.py
+++ b/meetingtools/apps/archive/models.py
@@ -40,6 +40,7 @@ def publish_archive(room,sco_id,tags=None):
ar.save()
try:
r = api.request('sco-move',{'sco-id':sco_id,'folder-id':folder_sco.sco_id},True)
+ r = api.request('permissions-update',{'acl-id':sco_id,'permission-id': 'view','principal-id':'public-access'})
except Exception,ex:
ar.delete()
raise ex