mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
fix: resource permission (#3354)
This commit is contained in:
parent
abf8c6a62e
commit
6d1bbd9db7
|
|
@ -162,6 +162,7 @@ function submitPermissions() {
|
|||
auth_type: item.isRole ? 'ROLE' : 'RESOURCE_PERMISSION_GROUP',
|
||||
}
|
||||
})
|
||||
.reduce((pre: any, next: any) => [...pre, ...next], [])
|
||||
})
|
||||
|
||||
AuthorizationApi.putResourceAuthorization(
|
||||
|
|
|
|||
Loading…
Reference in New Issue