Fix editor privilage issues

This commit is contained in:
Gregorio Chiko Putra 2017-09-06 15:38:30 +07:00
parent a6267699cc
commit 6040897552

View File

@ -99,7 +99,7 @@
<br>
<button type="submit"
{% if (post.status == 0 or editor_now != creator.id) %}
{% if (post.status == 0 and post.valid_at < timestamp or editor_now != creator.id) %}
disabled
{% endif %}
>