community_plugins icon indicating copy to clipboard operation
community_plugins copied to clipboard

canComment() permissions

Open hypeJunction opened this issue 9 years ago • 2 comments

I am noticing that the core doesn't really check canComment() permissions before rendering a form or when saving a comment. Seems that we rely entirely on canWriteToContainer() permissions. We need to align these. Perhaps it would make sense to rewrite canComment() to default to canWriteToContainer()

hypeJunction avatar Jul 21 '15 21:07 hypeJunction

There is a difference in how these two behave with regards to group content.

hypeJunction avatar Jul 21 '15 21:07 hypeJunction

@juho-jaakkola

hypeJunction avatar Jul 21 '15 21:07 hypeJunction