# Disabling Explore function

**URL:** <https://forum.gitea.com/t/disabling-explore-function/3953>\
**Category:** Install/Maintain/Configure\
**Created:** [October 20, 2021, 3:26pm UTC](https://forum.gitea.com/t/disabling-explore-function/3953 "2021-10-20T15:26:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkishere](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mkishere/32/4882_2.png) [@mkishere](https://forum.gitea.com/u/mkishere)\
**Post date:** [October 20, 2021, 3:26pm UTC](https://forum.gitea.com/t/disabling-explore-function/3953/1 "2021-10-20T15:26:59Z")

</div>

Is it possible to disable some of the pages/function for gitea? I don’t want user to go for the full user list, so we need to disable the Explore page/API function. Can it be done via config? Thanks

---

<div class="post-metadata">

**Author:** ![mkishere](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mkishere/32/4882_2.png) [@mkishere](https://forum.gitea.com/u/mkishere)\
**Post date:** [October 21, 2021, 1:37am UTC](https://forum.gitea.com/t/disabling-explore-function/3953/2 "2021-10-21T01:37:07Z")

</div>

I realized I can do it with restricted user. Thanks

---

<div class="post-metadata">

**Author:** ![kaimartin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/kaimartin/32/380_2.png) [@kaimartin](https://forum.gitea.com/u/kaimartin)\
**Post date:** [October 25, 2021, 7:05pm UTC](https://forum.gitea.com/t/disabling-explore-function/3953/3 "2021-10-25T19:05:16Z")

</div>

We achieved this with a localized CSS template for the users tab of the explore menu (`custom/templates/explore/users.tmpl`)

```auto
{{template "base/head" .}}
<div class="explore users">
        {{template "explore/navbar" .}}
        <div class="ui container">
                Users not viewable.
        </div>
</div>
{{template "base/footer" .}}

```

Result: The user tab still exists but it only renders “Users not viewable”.
