Implementing security check on discussion feature