1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Allow options to disable user gpg keys configuration from the interface on app.ini (#29486)

Follow #29447
Fix #29454 
Extract from #20549
This commit is contained in:
Lunny Xiao
2024-03-02 09:21:01 +08:00
committed by GitHub
parent 85ad4a0f7d
commit 9de5e39e25
7 changed files with 31 additions and 4 deletions

View File

@@ -1480,8 +1480,9 @@ LEVEL = Info
;;
;; Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
;DEFAULT_EMAIL_NOTIFICATIONS = enabled
;; Disabled features for users, could be "deletion", more features can be disabled in future
;; Disabled features for users, could be "deletion","manage_gpg_keys" more features can be disabled in future
;; - deletion: a user cannot delete their own account
;; - manage_gpg_keys: a user cannot configure gpg keys
;USER_DISABLED_FEATURES =
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;