Explicitly added access check for public profile page view.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 19 Mar 2009 17:30:17 +0000
changeset 1941 81fc81b62c5e
parent 1940 609128cc37f7
child 1942 832a1e80eee0
Explicitly added access check for public profile page view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/user.py
--- a/app/soc/views/models/user.py	Thu Mar 19 17:11:03 2009 +0000
+++ b/app/soc/views/models/user.py	Thu Mar 19 17:30:17 2009 +0000
@@ -61,6 +61,7 @@
     rights['create'] = ['checkIsDeveloper']
     rights['edit'] = ['checkIsDeveloper']
     rights['delete'] = ['checkIsDeveloper']
+    rights['show'] = ['allow']
     rights['list'] = ['checkIsDeveloper']
     rights['list_developers'] = ['checkIsDeveloper']