0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-02 07:34:48 +01:00
gitea/routers/api/v1
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 ee95d3e8dc.
2022-04-29 15:38:11 -04:00
..
admin Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
misc
notify
org Fix panic in team repos API (#19431) 2022-04-20 18:43:26 +08:00
packages Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
repo Add API to query collaborators permission for a repository (#18761) 2022-04-29 14:24:38 +02:00
settings
swagger Add API to query collaborators permission for a repository (#18761) 2022-04-29 14:24:38 +02:00
user Fix DELETE request for non-existent public key (#19443) 2022-04-21 03:08:30 +02:00
utils
api.go Add API to query collaborators permission for a repository (#18761) 2022-04-29 14:24:38 +02:00
auth.go
auth_windows.go