gitea/docs/content/doc/advanced
Richard Nienaber 908136c557
add configuration option to restrict users by default (#16256)
* add configuration option to restrict users by default

* default IsRestricted permission only set on sign up

setting this in the model messes with other workflows (e.g. syncing LDAP users) where the IsRestricted permission needs to be explicitly set and not overridden by a config value

* fix formatting

* Apply suggestions from code review

* ensure newly created user is set to restricted

* ensure imports are in the correct order

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 15:19:48 -04:00
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md add configuration option to restrict users by default (#16256) 2021-07-15 15:19:48 -04:00
config-cheat-sheet.zh-cn.md Change @every 24h default schedules to @midnight (#16431) 2021-07-15 11:55:48 -04:00
customizing-gitea.en-us.md Fix typo in customizing-gitea.en-us.md (#16362) 2021-07-07 17:25:42 +02:00
customizing-gitea.zh-cn.md Fix docs assets link (#16337) 2021-07-04 15:56:40 +02:00
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md Add sanitizer rules per renderer (#16110) 2021-06-23 17:09:51 -04:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
mail-templates-us.md Fix documentation for the fallback mail subject (#15223) 2021-03-31 11:36:21 -04:00
make.fr-fr.md
make.zh-cn.md
protected-tags.en-us.md Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repo-indexer.en-us.md
repo-mirror.en-us.md Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
search-engines-indexation.en-us.md
signing.en-us.md Specify relation between multiple signing options (#15496) 2021-04-15 18:06:32 +02:00
third-party-tools.zh-cn.md