You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change the SDK to include the storage ID to add shares -> web team
As a manager of a Space I want to add users to the Space so that they can collaborate.
As a manager of a Space I want to control what Space members are allowed to do.
As a manager of a Space I want to remove users from the Space so that they can not access the Space anymore.
!Spaces.png!
Concept
A space is a share with additional properties, eg. quota.
Graph and OCS API implement the ownCloud business layer:
eg. the last manager cannot leave a space. See acceptance criteria below.
Drawback: when using the CS3 api the owncloud business layer can be circumvented ()
Questions
Given a space has a .space folder
And Alice has the role editor
When Alice tries to edit the space property description
Then she should not be able to
The reason is that only managers should be able to manage space properties. We can implement this restriction in the graph api, but editors could just overwrite the file using webdav. This would be solved by the negative permissions CERN is planning.
This loophole is currently accepted. It needs to be resolved before GA. One option would be to move the .spaces folder outside of the space and not expose them via webdav, which has the drawback that managers cannot edit the .spaces folder via webav when syncing it to the local disk.
Related services
graph:
list spaces on the /me/drives endpoint
root item is always the resourceid of the space
ocs:
add members to spaces
set grants on resources
add aliases to the share manager
properties of spaces can be changed by using the resourceid to update shares
we could use the storageid property for the spaceID
Jörn Friedrich Dreyer commented: In oc10 the storage property of a share is only used for internal joins to check if a path is accessible. The share2.0 api implementation actually has no storage or storageid property.
David Christofas commented: https://github.com/C0rby/reva/tree/space-membership
Adding members through the OCS sharing API works. We are not using the share manager, instead we directly add a grant to the space.
The roles are limitted to manager, editor, viewer.
Removing users from a space isn't implemented yet. There is no API endpoint in the OCS sharing API which fits. It is now.
As a manager of a Space I want to add users to the Space so that they can collaborate.
As a manager of a Space I want to control what Space members are allowed to do.
As a manager of a Space I want to remove users from the Space so that they can not access the Space anymore.
!Spaces.png!
Concept
A space is a share with additional properties, eg. quota.
Graph and OCS API implement the ownCloud business layer:
Questions
The reason is that only managers should be able to manage space properties. We can implement this restriction in the graph api, but editors could just overwrite the file using webdav. This would be solved by the negative permissions CERN is planning.
This loophole is currently accepted. It needs to be resolved before GA. One option would be to move the .spaces folder outside of the space and not expose them via webdav, which has the drawback that managers cannot edit the .spaces folder via webav when syncing it to the local disk.
Related services
/me/drives
endpointAC
The text was updated successfully, but these errors were encountered: