Fix editor privilage issues
This commit is contained in:
parent
a6267699cc
commit
6040897552
@ -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 %}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user