From 9f4e2fb71aadc250a06acf22d7dd47684b2b1fd7 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 18 Nov 2020 18:00:25 +0100 Subject: [PATCH] Strip option to share objects without sharing the objects within --- client/src/components/Sharing.vue | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client/src/components/Sharing.vue b/client/src/components/Sharing.vue index e9e29282392..85ec59adb00 100644 --- a/client/src/components/Sharing.vue +++ b/client/src/components/Sharing.vue @@ -90,10 +90,6 @@ Make {{ model_class }} Accessible via Link -

- Also make all objects within the {{ model_class }} accessible. - -

Generates a web link that you can share with other people so that they can view and import the {{ modelClassLower }}. @@ -102,10 +98,6 @@ Make {{ model_class }} Accessible and Publish -

- Also make all objects within the {{ model_class }} accessible. - -

Makes the {{ modelClassLower }} accessible via link (see above) and publishes the {{ modelClassLower }} to Galaxy's @@ -232,9 +224,6 @@ export default { slugUrl() { return `${getAppRoot()}${this.modelClassLower}/set_slug_async/?id=${this.id}`; }, - hasPossibleMembers() { - return ["history"].indexOf(this.modelClassLower) > -1; - }, showDanger() { return this.errMsg !== null; }, @@ -292,9 +281,6 @@ export default { action: action, user_id: user_id, }; - if (this.hasPossibleMembers) { - data.make_members_public = this.makeMembersPublic; - } axios .post(`${getAppRoot()}api/${this.pluralNameLower}/${this.id}/sharing`, data) .then((response) => {