You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
3 years ago
..
adding-legal-pages.en-us.md Add Privacy Policy and Terms of Service Page (#9513) 5 years ago
clone-filter.en-us.md [Docs] Clone filters (#14555) 3 years ago
cmd-embedded.en-us.md Reformat docs (#13897) 4 years ago
config-cheat-sheet.en-us.md add configuration option to restrict users by default (#16256) 3 years ago
config-cheat-sheet.zh-cn.md Change @every 24h default schedules to @midnight (#16431) 3 years ago
customizing-gitea.en-us.md Fix typo in customizing-gitea.en-us.md (#16362) 3 years ago
customizing-gitea.zh-cn.md Fix docs assets link (#16337) 3 years ago
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 3 years ago
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 3 years ago
external-renderers.en-us.md Add sanitizer rules per renderer (#16110) 3 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
logging-documentation.en-us.md Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
mail-templates-us.md Fix documentation for the fallback mail subject (#15223) 3 years ago
make.fr-fr.md Reformat docs (#13897) 4 years ago
make.zh-cn.md Reformat docs (#13897) 4 years ago
protected-tags.en-us.md Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
repo-indexer.en-us.md Reformat docs (#13897) 4 years ago
repo-mirror.en-us.md Add push to remote mirror repository (#15157) 3 years ago
search-engines-indexation.en-us.md Reformat docs (#13897) 4 years ago
signing.en-us.md Specify relation between multiple signing options (#15496) 3 years ago
third-party-tools.zh-cn.md Reformat docs (#13897) 4 years ago