# Tutor plugin to customize catalog visibility

**URL:** <https://discuss.openedx.org/t/tutor-plugin-to-customize-catalog-visibility/10534>\
**Category:** Tutor Help\
**Tags:** tutor-plugin\
**Created:** [June 27, 2023, 11:13am UTC](https://discuss.openedx.org/t/tutor-plugin-to-customize-catalog-visibility/10534 "2023-06-27T11:13:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martibosch](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@martibosch](https://discuss.openedx.org/u/martibosch)\
**Post date:** [June 27, 2023, 11:13am UTC](https://discuss.openedx.org/t/tutor-plugin-to-customize-catalog-visibility/10534/1 "2023-06-27T11:13:25Z")

</div>

Hello,

following this thread [Catalog visibility in Tutor deployed Open edX - #2 by regis - Open edX - Overhang.IO](https://discuss.overhang.io/t/catalog-visibility-in-tutor-deployed-open-edx/214/2) I have created the following plugin named “coursediscovery.py”:

```auto
from tutor import hooks

hooks.Filters.ENV_PATCHES.add_item(
    (
        "openedx-lms-common-settings",
        """
FEATURES["ENABLE_COURSE_DISCOVERY"] = False
FEATURES["ENABLE_COURSEWARE_SEARCH"] = False
FEATURES["ENABLE_DASHBOARD_SEARCH"] = False
"""
    )
)

```

I have activated it and re-launched the platform, however I see that it is not taking effect.

I am using tutor 15.1.0, and after running `tutor config save` with the enabled plugin, I still get the following for `cat .local/share/tutor/env/apps/openedx/config/lms.env.yml`:

```auto
...
FEATURES:
  
  "ENTRANCE_EXAMS": true
  
  CERTIFICATES_HTML_VIEW: true
  ...
  ENABLE_COURSE_DISCOVERY: true
  ENABLE_COURSEWARE_SEARCH: true
  ENABLE_CSMH_EXTENDED: false
  ENABLE_DASHBOARD_SEARCH: true
  ENABLE_COMBINED_LOGIN_REGISTRATION: true
  ENABLE_GRADE_DOWNLOADS: true
  ENABLE_LEARNER_RECORDS: false
  ENABLE_MOBILE_REST_API: true
  ENABLE_OAUTH2_PROVIDER: true
  ENABLE_PREREQUISITE_COURSES: true
  ENABLE_THIRD_PARTY_AUTH: true
  MILESTONES_APP: true
...

```

Is this normal? Why are the customized settings still set to “true”?

Thank you. Best,  
Martí

---

<div class="post-metadata">

**Author:** ![Rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@Rohan](https://discuss.openedx.org/u/Rohan)\
**Post date:** [March 3, 2024, 10:37pm UTC](https://discuss.openedx.org/t/tutor-plugin-to-customize-catalog-visibility/10534/2 "2024-03-03T22:37:50Z")

</div>

> [@martibosch](#):
>
> I have activated it and re-launched the platform, however I see that it is not taking effect.

Did you make sure to do `tutor config save` before either `tutor local quickstart` or `tutor local launch` (depending on which version you’re on)?

FWIW I have an older tutor plugin format of the following:

```auto
name: disable_course_discovery
version: 0.1.0
patches:
  openedx-lms-common-settings: |
    FEATURES["ENABLE_COURSE_DISCOVERY"] = False
    FEATURES["ENABLE_COURSEWARE_SEARCH"] = False
    FEATURES["ENABLE_DASHBOARD_SEARCH"] = False

```

And I just enabled it on Quince and it seems to have worked. I don’t see ENABLE\_COURSE\_DISCOVERY in my .local/share/tutor/config.yml, but I’m not sure if I’m supposed to.
