gitea/services
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310)
* Apply DefaultUserIsRestricted in CreateUser

* Enforce system defaults in CreateUser

Allow for overwrites with CreateUserOverwriteOptions

* Fix compilation errors

* Add "restricted" option to create user command

* Add "restricted" option to create user admin api

* Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed

* Revert "Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed"

This reverts commit ee95d3e8dc9e9fff4fa66a5111e4d3930280e033.
2022-04-29 15:38:11 -04:00
..
agit more context for models (#19511) 2022-04-28 13:48:48 +02:00
asymkey more context for models (#19511) 2022-04-28 13:48:48 +02:00
attachment
auth Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
comments
context
cron
externalaccount
forms Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
gitdiff
issue more context for models (#19511) 2022-04-28 13:48:48 +02:00
lfs more context for models (#19511) 2022-04-28 13:48:48 +02:00
mailer
migrations
mirror
org
packages
pull Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
release
repository
task
user
webhook
wiki