diff --git a/client/src/components/LibraryFolder/LibraryFolder.vue b/client/src/components/LibraryFolder/LibraryFolder.vue index 10248d84889..432402730e7 100644 --- a/client/src/components/LibraryFolder/LibraryFolder.vue +++ b/client/src/components/LibraryFolder/LibraryFolder.vue @@ -461,7 +461,7 @@ export default { else if (element.type === "folder") return `${this.root}library/folders/${element.id}`; }, navigateToPermission(element) { - if (element.type === "file") window.location.replace(`${this.createContentLink(element)}/permissions`); + if (element.type === "file") this.$router.push({ path: `/permissions/${this.folder_id}/dataset/${element.id}` }) else if (element.type === "folder") this.$router.push({ path: `/permissions/${element.id}` }); }, getMessage(element) { diff --git a/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderDatasetPermissions.vue b/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderDatasetPermissions.vue new file mode 100644 index 00000000000..c5abd0db36b --- /dev/null +++ b/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderDatasetPermissions.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue b/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue index 982ef7bd18e..8f1340681e2 100644 --- a/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue +++ b/client/src/components/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue @@ -9,77 +9,44 @@
{{ folder.name }}
-
-
- - You are logged in as an administrator therefore you can manage any folder on - this Galaxy instance. Please make sure you understand the consequences. - - - You can assign any number of roles to any of the following permission types. However please read - carefully the implications of such actions. - -
-
+
-

Folder permissions

-

- Roles that can manage permissions on this folder -

- - - - - - User with any of these roles can manage permissions on this folder. - - - -

- Roles that can add items to this folder -

- - - - - - User with any of these roles can add items to this folder (folders and - datasets). - - - -

- Roles that can modify this folder -

- - - - - - User with any of these roles can modify this folder (name, etc.). - - +

Folder permissions

+ + + + +