+ {
+ const rows = permissions.map((p, index) =>
+ index === rowIndex
+ ? { ...p, isExpanded: !p.isExpanded }
+ : p
+ );
+ setPermissions(rows);
+ },
+ }}
+ />
+ |
+
+ {permission.name}
+
+ |
+
+ {
+ policyProviders?.find((p) => p.type === permission.type)
+ ?.name
+ }
+ |
+
+
+ |
+ {permission.description} |
+ {
+ setSelectedPermission(permission);
+ toggleDeleteDialog();
+ },
+ },
+ ],
+ }}
+ > |
+
+