feat: 🎸 hosts capabilities create lit

This commit is contained in:
dharini committed 2021-09-02 15:28:40 -07:00
1 parent 144c7d13ee
commit 451c1e861b
8 files changed
+197 -19

No files matched your search

@@ -10,6 +10,11 @@ export default factory.extend({
'update',
'delete',
],
authorized_collection_actions: () => {
return {
hosts: ['create', 'list'],
};
},
withChildren: trait({
afterCreate(hostCatalog, server) {
const { scope } = hostCatalog;