mirror of https://github.com/status-im/consul.git
15 lines
413 B
JavaScript
15 lines
413 B
JavaScript
|
export default function(visitable, deletable, creatable, clickable, attribute, collection, filter) {
|
||
|
return creatable({
|
||
|
visit: visitable('/:dc/acls/roles'),
|
||
|
roles: collection(
|
||
|
'[data-test-tabular-row]',
|
||
|
deletable({
|
||
|
name: attribute('data-test-role', '[data-test-role]'),
|
||
|
policy: clickable('a'),
|
||
|
actions: clickable('label'),
|
||
|
})
|
||
|
),
|
||
|
filter: filter,
|
||
|
});
|
||
|
}
|