summaryrefslogtreecommitdiff
path: root/archaeological_context_records/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-30 02:02:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-30 02:02:12 +0200
commitdced4b8f3b540cf84f8e75041a680881b6a7e725 (patch)
treece451400b4aa7a11b997014ac6c0117040da6667 /archaeological_context_records/urls.py
parent252186d3df11f79b29043a95f1cc20af63310ae1 (diff)
downloadIshtar-dced4b8f3b540cf84f8e75041a680881b6a7e725.tar.bz2
Ishtar-dced4b8f3b540cf84f8e75041a680881b6a7e725.zip
Access control: fix some inconsistent settings for actions
Diffstat (limited to 'archaeological_context_records/urls.py')
-rw-r--r--archaeological_context_records/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/urls.py b/archaeological_context_records/urls.py
index 341d321f9..e89a76aef 100644
--- a/archaeological_context_records/urls.py
+++ b/archaeological_context_records/urls.py
@@ -23,7 +23,7 @@ from archaeological_context_records import models
from ishtar_common.wizards import check_rights
import views
-# be carreful: each check_rights must be relevant with ishtar_menu
+# be careful: each check_rights must be relevant with ishtar_menu
# forms
urlpatterns = patterns(
@@ -33,7 +33,7 @@ urlpatterns = patterns(
check_rights(['view_contextrecord', 'view_own_contextrecord'])(
views.record_search_wizard), name='record_search'),
url(r'record_creation/(?P<step>.+)?$',
- check_rights(['add_contextrecord'])(
+ check_rights(['add_contextrecord', 'add_own_contextrecord'])(
views.record_creation_wizard), name='record_creation'),
url(r'record_modification/(?P<step>.+)?$',
check_rights(['change_contextrecord', 'change_own_contextrecord'])(