feat: support checking permissions for group roles (#2422)

* fix(permission): fix CheckLoginPermission() logic

* style: fix code format

* feat: support settting roles for groups

* fix: fix field name

* style: format codes

---------

Co-authored-by: aidenlu <aiden_lu@wochacha.com>
This commit is contained in:
aiden
2023-10-19 15:33:45 +08:00
committed by GitHub
parent 3f53591751
commit 45db4deb6b
3 changed files with 32 additions and 4 deletions

View File

@ -804,7 +804,9 @@
"Sub roles": "包含角色",
"Sub roles - Tooltip": "当前角色所包含的子角色",
"Sub users": "包含用户",
"Sub users - Tooltip": "当前角色所包含的用户"
"Sub users - Tooltip": "当前角色所包含的用户",
"Sub groups": "包含群组",
"Sub groups - Tooltip": "当前角色所包含的群组"
},
"signup": {
"Accept": "阅读并接受",
@ -1030,4 +1032,4 @@
"New Webhook": "添加Webhook",
"Value": "值"
}
}
}