Description:
Discussion XBlock's visibility is manage with provider setting and permission is setting for thread and comments. In this ticket we need to look up how we can manage the provider and permission code in extracted discussion block.
PR: openedx/openedx-platform#37912