Guardian bypassed through :skip_validations in TopicCreator but not in PostCreator

When creating a topic, the guardian check for permission to create is bypassed if skip_validations is set to true:

However, when creating a reply the equivalent check is not bypassed:

Perhaps I am missing something but this looks inconsistent to me, i.e. skip_validations should bypass the guardian check either in both cases or in none of them.

In any case, I fixed this because I needed it myself (to have an importer create posts in private categories). Here is what I did:

https://github.com/discourse/discourse/pull/4641

저도 방금 이 버그를 겪었습니다. 6년 전에 수정해서 풀 리퀘스트를 제출했는데 결국 받아들여지지 않았다는 점이 정말 답답합니다. :frowning: