+ {item.verbs.map((verb, index) => (
+
+ {verb}
+
+ ))}
+
+ )
+ },
+ transforms: [cellWidth(15)],
+ },
+ {
+ id: 'apiGroups',
+ header: t('API groups'),
+ sort: (a: Rule, b: Rule) => compareStrings(a.apiGroups.join(', '), b.apiGroups.join(', ')),
+ search: 'apiGroups',
+ cell: (item) => {
+ return item.apiGroups.length > 0 ? item.apiGroups.join(', ') : ''
+ },
+ transforms: [cellWidth(25)],
+ },
+ {
+ id: 'resources',
+ header: t('Resources'),
+ sort: (a: Rule, b: Rule) => compareStrings(a.resources.join(', '), b.resources.join(', ')),
+ search: 'resources',
+ cell: (item) => {
+ return (
+