2020-12-02 09:16:55 +00:00
|
|
|
export default {
|
2020-12-18 10:38:15 +00:00
|
|
|
Name: (item, value) => item.Name,
|
|
|
|
Description: (item, value) => item.Description,
|
2020-12-02 09:16:55 +00:00
|
|
|
Role: (item, value) => {
|
|
|
|
const acls = item.ACLs || {};
|
2020-12-18 10:38:15 +00:00
|
|
|
return (acls.RoleDefaults || []).map(item => item.Name);
|
2020-12-02 09:16:55 +00:00
|
|
|
},
|
|
|
|
Policy: (item, value) => {
|
|
|
|
const acls = item.ACLs || {};
|
2020-12-18 10:38:15 +00:00
|
|
|
return (acls.PolicyDefaults || []).map(item => item.Name);
|
2020-12-02 09:16:55 +00:00
|
|
|
},
|
|
|
|
};
|