Commit 318006d9 authored by Aurel's avatar Aurel

base : modify the permission, access contents information is enought in this case

parent 1f1c46dc
......@@ -54,7 +54,7 @@
current_date=DateTime()\n
assignment_list = []\n
for assignment in context.contentValues(portal_type=\'Assignment\', checked_permission="View"):\n
for assignment in context.contentValues(portal_type=\'Assignment\', checked_permission="Access contents information"):\n
if assignment.getValidationState() == \'open\':\n
start_date = assignment.getStartDate()\n
stop_date = assignment.getStopDate()\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment