mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
[Update] 修改授权树显示策略 (#2784)
* [Update] 修改授权树显示策略 * [Update] 是否允许用户执行批量命令 * [Update] 优化授权节点构建 * [Update] 修改节点大小判断 * [Update] 修改节点大小判断
This commit is contained in:
@@ -180,6 +180,11 @@ class SecuritySettingForm(BaseForm):
|
||||
'authentication (valid for all users, including administrators)'
|
||||
)
|
||||
)
|
||||
# Execute commands for user
|
||||
SECURITY_COMMAND_EXECUTION = forms.BooleanField(
|
||||
required=False, label=_("Batch execute commands"),
|
||||
help_text=_("Allow user batch execute commands")
|
||||
)
|
||||
# limit login count
|
||||
SECURITY_LOGIN_LIMIT_COUNT = forms.IntegerField(
|
||||
min_value=3, max_value=99999,
|
||||
|
||||
Reference in New Issue
Block a user