Fixed story chapter comment permission check not allowing other users to comment.
the build was successful
the build was successful
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
user=input.user
|
||||
on-open("onOpenComment", comment)
|
||||
/>
|
||||
<if-permitted if(input.chapter.canComment) user=input.user author=input.chapter.author permission="chapter.edit">
|
||||
|
||||
<if-permitted if(input.chapter.canComment) user=input.user permission=["member", "chapter.edit"]>
|
||||
<div class="add-comment color-menu" on-click("open", "addComment") >Add ${state.commentLabels[input.chapter.commentMode] || "Comment"}</div>
|
||||
</if-permitted>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user