[ACS-6369] - ACA on multi select file/folder permisstion menu should not be shown (#3571)

This commit is contained in:
DominikIwanek
2023-12-22 15:53:23 +01:00
committed by GitHub
parent 7465bbbf6d
commit 683138ced1
3 changed files with 9 additions and 4 deletions

View File

@@ -505,7 +505,7 @@ export const canEditAspects = (context: RuleContext): boolean =>
* @param context Rule execution context
*/
export const canManagePermissions = (context: RuleContext): boolean =>
[canUpdateSelectedNode(context), navigation.isNotTrashcan(context), !isSmartFolder(context)].every(Boolean);
[canUpdateSelectedNode(context), navigation.isNotTrashcan(context), !isSmartFolder(context), !isMultiselection(context)].every(Boolean);
/**
* Checks if user can toggle **Edit Offline** mode for selected node.