diff --git a/__fixtures__/collaborators.js b/__fixtures__/collaborators.js index 51cd46f0cce..415c1a3ebd6 100644 --- a/__fixtures__/collaborators.js +++ b/__fixtures__/collaborators.js @@ -1,6 +1,7 @@ import { peopleRoleEditorFile, - peopleRoleViewerFile + peopleRoleViewerFile, + spaceRoleEditor } from '../packages/web-app-files/src/helpers/share' export default [ @@ -142,5 +143,25 @@ export default [ role: peopleRoleViewerFile, path: "/Neuer Ordner-'singe'", key: "collaborator-51a8aafe-cd40-4d0a-8566-87a1149b7fea" + }, + { + shareType: 7, + id: "f5c28709-b921-4ec8-b39a-4c243709b514", + collaborator: { + name: "einstein", + displayName: "Albert Einstein", + additionalInfo: "einstein@example.org" + }, + owner: { + name: "admin", + displayName: "Admin", + additionalInfo: "admin@example.org" + }, + fileOwner: { + name: "admin", + displayName: "Admin", + additionalInfo: "admin@example.org" + }, + role: spaceRoleEditor } ] diff --git a/changelog/unreleased/enhancement-spaces-people-sharing b/changelog/unreleased/enhancement-spaces-people-sharing new file mode 100644 index 00000000000..8901c33f485 --- /dev/null +++ b/changelog/unreleased/enhancement-spaces-people-sharing @@ -0,0 +1,11 @@ +Enhancement: Implement people sharing for spaces + +Spaces can now be shared with other people. This change specifically includes: + +* listing all members who have access to a space (possible for all space members) +* adding members to a space and giving them dedicated roles (possible for managers only) +* editing the role of members (possible for managers only) +* removing members from a space (possible for managers only) + +https://github.com/owncloud/web/pull/6455 +https://github.com/owncloud/web/issues/6283 diff --git a/packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue b/packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue index 0ae941e8674..7c6d177fc70 100644 --- a/packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue +++ b/packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue @@ -12,10 +12,32 @@ class="space-default-image oc-px-m oc-py-m" /> -
- + | |