!
Hubzilla DevelopmentZotlabs\Lib\Threadstream::add_thread() always permits comments by the thread author if comments are not disabled. But perm_is_allowed() and the perm_is_allowed hook which is called to validate permission when the comment is submitted has no mechanism to determine if the item being commented on is owned by the commenter.
The result is, if the thread is [strike]owned[/strike] [underline]authored[/underline] by the observer, the comment box with the submit button is displayed, but if perm_is_allowed() denies commenting, the comment is denied. I understand the desire to want to allow a thread author to always comment and that it would be a fairly rare occurrence where it may be disabled. In a forum or a community, a thread owner's commenting permissions may be revoked after they post a thread, so it's conceivable that the circumstance may arise. However given the inconsistency, I'm not sure the best way to handle it. I'm personally tempted to say, "perms are perms and if you don't have perms to comment on the page/thread to comment, then you don't have permission."
I guess my question ends up.... Is there any circumstance or configuration currently where someone may be relying upon this behavior? Or can we remove the permission for a thread owner to always be able to comment on their thread when it appears on another channel's wall?