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
commitfe6ad5563ba6b46a04653af00109b100d551a676 (patch)
treece451400b4aa7a11b997014ac6c0117040da6667 /archaeological_context_records/urls.py
parent01ca9b09720d36e36c7d6686465696715101f127 (diff)
downloadIshtar-fe6ad5563ba6b46a04653af00109b100d551a676.tar.bz2
Ishtar-fe6ad5563ba6b46a04653af00109b100d551a676.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'])(