Fix permit bug on comments and discussions