'Render the view to manage an xblock\'s visibility settings in Studio.
Args:
_context: Not actively used for this view.
Returns:
(Fragment): An HTML fragment for editing the visibility of this XBlock.'

def visibility_view(self, _context=None):

    fragment = Fragment()
    from contentstore.utils import reverse_course_url
    fragment.add_content(self.system.render_template('visibility_editor.html', {'xblock': self, 'manage_groups_url': reverse_course_url('group_configurations_list_handler', self.location.course_key)}))
    fragment.add_javascript_url(self._get_studio_resource_url('/js/xblock/authoring.js'))
    fragment.initialize_js('VisibilityEditorInit')
    return fragment
