2020-12-01 15:45:09 +00:00
|
|
|
export default {
|
2021-05-04 16:25:57 +00:00
|
|
|
Name: item => item.Name,
|
|
|
|
Description: item => item.Description,
|
|
|
|
Role: item => {
|
2020-12-01 15:45:09 +00:00
|
|
|
const acls = item.ACLs || {};
|
2020-12-18 10:38:15 +00:00
|
|
|
return (acls.RoleDefaults || []).map(item => item.Name);
|
2020-12-01 15:45:09 +00:00
|
|
|
},
|
2021-05-04 16:25:57 +00:00
|
|
|
Policy: item => {
|
2020-12-01 15:45:09 +00:00
|
|
|
const acls = item.ACLs || {};
|
2020-12-18 10:38:15 +00:00
|
|
|
return (acls.PolicyDefaults || []).map(item => item.Name);
|
2020-12-01 15:45:09 +00:00
|
|
|
},
|
|
|
|
};
|