Add missing 'can_create_motion' perm check (Fixed #1490).
This commit is contained in:
parent
0f55583b4c
commit
e730dbea8b
@ -8,6 +8,10 @@ Version 1.7.1 (unreleased)
|
||||
==========================
|
||||
[https://github.com/OpenSlides/OpenSlides/milestones/1.7.1]
|
||||
|
||||
Motions:
|
||||
- Show amendment button for users with permission 'can_create_motion'
|
||||
only.
|
||||
|
||||
|
||||
Version 1.7 (2015-02-16)
|
||||
========================
|
||||
|
@ -291,7 +291,7 @@
|
||||
</h5>
|
||||
{{ version.creation_time }}
|
||||
|
||||
{% if 'motion_amendments_enabled'|get_config %}
|
||||
{% if perms.motion.can_create_motion and 'motion_amendments_enabled'|get_config %}
|
||||
<h5>{% trans 'Amendments' %}:</h5>
|
||||
{% with amendments=motion.amendments.all %}
|
||||
{% if amendments %}
|
||||
|
Loading…
Reference in New Issue
Block a user