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',
|
auth_type: item.isRole ? 'ROLE' : 'RESOURCE_PERMISSION_GROUP',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.reduce((pre: any, next: any) => [...pre, ...next], [])
|
||||||
})
|
})
|
||||||
|
|
||||||
AuthorizationApi.putResourceAuthorization(
|
AuthorizationApi.putResourceAuthorization(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user