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
I realized I can do it with restricted user. Thanks
We achieved this with a localized CSS template for the users tab of the explore menu (custom/templates/explore/users.tmpl
)
{{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”.