feat(members): allow owners to manage roles and remove members

This commit is contained in:
yiling
2026-06-07 15:28:05 +08:00
parent e0aa642549
commit 62a2cb3589
13 changed files with 404 additions and 31 deletions
+1 -3
View File
@@ -17,9 +17,7 @@ export class SearchService {
async search(folderId: string, req: SearchRequest): Promise<PaginatedData<AssetInfo[]>> {
const targetFolderIds =
req.recursively === false
? [folderId]
: await this.assetSvc.getDescendantFolderIds(folderId)
req.recursively === false ? [folderId] : await this.assetSvc.getDescendantFolderIds(folderId)
const targetTypes =
req.assetType === 'folder' ? [AssetType.folder] : [AssetType.file, AssetType.version_stack]