mirror of
https://github.com/langgenius/dify.git
synced 2026-11-04 23:45:20 +08:00
fix(web): hydrate workspace permissions before navigation render (#39524)
This commit is contained in:
@@ -206,24 +206,6 @@ export type UpdateRolesOfMemberRequest = {
|
||||
roleIds: string[]
|
||||
}
|
||||
|
||||
type WorkspacePermissionKeys = {
|
||||
permission_keys: string[]
|
||||
}
|
||||
|
||||
type ResourcePermissionKeys = {
|
||||
default_permission_keys: string[]
|
||||
overrides: Array<{
|
||||
resource_id: string
|
||||
permission_keys: string[]
|
||||
}>
|
||||
}
|
||||
|
||||
export type PermissionKeysResponse = {
|
||||
workspace: WorkspacePermissionKeys
|
||||
app: ResourcePermissionKeys
|
||||
dataset: ResourcePermissionKeys
|
||||
}
|
||||
|
||||
export type GetMembersOfRoleRequest = {
|
||||
roleId: string
|
||||
} & PaginationParameters
|
||||
|
||||
Reference in New Issue
Block a user