diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-03-02 09:21:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 01:21:01 +0000 |
commit | 9de5e39e25009bacc5ca201ed97e9cbb623e56e9 (patch) | |
tree | 1df6d30974e7b7563d23c22db52533247eb73772 /custom/conf | |
parent | 85ad4a0f7d3468a2e79270fd36f544202560143b (diff) | |
download | gitea-9de5e39e25009bacc5ca201ed97e9cbb623e56e9.tar.gz gitea-9de5e39e25009bacc5ca201ed97e9cbb623e56e9.zip |
Allow options to disable user gpg keys configuration from the interface on app.ini (#29486)
Follow #29447
Fix #29454
Extract from #20549
Diffstat (limited to 'custom/conf')
-rw-r--r-- | custom/conf/app.example.ini | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index f7f5cac9c8..dc5aa691ee 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -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 = ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |