bench-forgejo/docs/content/doc/advanced
zeripath c8e5c79cfd
Add ui.explore settings to control view of explore pages (2) (#14094)
This is an alternative PR to #13687.

Add `[ui.explore]` settings to allow restricting the
explore pages to logged in users only and to disable the users explore page.

The two proposed settings are:

- `REQUIRE_SIGNIN_VIEW`: Only allows access to the explore pages if the
user is signed in. Also restricts
  - `/api/v1/user/search`
  - `/api/v1/users/{username}`
  - `/api/v1/users/{username}/repos`
  - but does not restrict `/api/v1/users/{username}/heatmap`
- `DISABLE_USERS_PAGE`: Disables the /explore/users page

Fix #2908

Close #13687 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
2021-03-11 13:40:54 +00:00
..
adding-legal-pages.en-us.md Add Privacy Policy and Terms of Service Page (#9513) 2020-01-14 14:34:40 +01:00
clone-filter.en-us.md [Docs] Clone filters (#14555) 2021-02-03 10:11:20 -05:00
cmd-embedded.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
config-cheat-sheet.en-us.md Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
config-cheat-sheet.zh-cn.md Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
customizing-gitea.en-us.md Note that all template directories are relative to the CustomPath configuration, not a custom directory inside it (#14399) 2021-01-19 10:50:55 -05:00
customizing-gitea.zh-cn.md Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor (#11926) 2020-06-17 23:16:59 -04:00
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
external-renderers.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
mail-templates-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
make.fr-fr.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
make.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
repo-indexer.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
search-engines-indexation.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
signing.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
third-party-tools.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00