diff --git a/src/shared/components/ncContextResource/NcContextResource.vue b/src/shared/components/ncContextResource/NcContextResource.vue
index 9bb0ad7a9..1b2b78a2a 100644
--- a/src/shared/components/ncContextResource/NcContextResource.vue
+++ b/src/shared/components/ncContextResource/NcContextResource.vue
@@ -3,6 +3,8 @@
+
+
@@ -11,11 +13,15 @@
import { mapGetters } from 'vuex'
import ResourceForm from './ResourceForm.vue'
import ResourceList from './ResourceList.vue'
+import ResourceSharePermissions from './ResourceSharePermissions.vue'
+import ResourceSharees from './ResourceSharees.vue'
export default {
components: {
ResourceForm,
ResourceList,
+ ResourceSharePermissions,
+ ResourceSharees,
},
props: {
@@ -29,6 +35,10 @@ export default {
type: Array,
default: () => ([]),
},
+ sharees: {
+ type: Array,
+ default: () => ([]),
+ },
},
data() {
diff --git a/src/shared/components/ncContextResource/ResourceSharePermissions.vue b/src/shared/components/ncContextResource/ResourceSharePermissions.vue
new file mode 100644
index 000000000..0f8b51267
--- /dev/null
+++ b/src/shared/components/ncContextResource/ResourceSharePermissions.vue
@@ -0,0 +1,106 @@
+
+
+
{{ t('tables', 'Sharing') }}
+
+
+ {{ t('tables', 'No shares') }}
+
+
+
+
+
+
+
diff --git a/src/shared/components/ncContextResource/ResourceSharees.vue b/src/shared/components/ncContextResource/ResourceSharees.vue
new file mode 100644
index 000000000..74042fd0b
--- /dev/null
+++ b/src/shared/components/ncContextResource/ResourceSharees.vue
@@ -0,0 +1,187 @@
+
+
+
{{ t('tables', 'Share with accounts or groups') }}
+
+
+ {{ noResultText }}
+
+
+
+
+
+
+
+