Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to share R/DataSHIELD workspaces #3671

Open
ymarcon opened this issue Sep 16, 2021 · 3 comments
Open

Ability to share R/DataSHIELD workspaces #3671

ymarcon opened this issue Sep 16, 2021 · 3 comments
Assignees
Labels
improvement pinned Stale bot ignored

Comments

@ymarcon
Copy link
Member

ymarcon commented Sep 16, 2021

In some cases R/DataSHIELD users would like to share their saved R workspace. Currently it is not possible because a R/DS workspace is accessible only by its creator, so that data are not leaked between users. An improvement could be that given Opal knows the origin of the data that were assigned in the R session, Opal also knows which are the expected permissions that would apply to the R workspace (the union of all the assign permissions). Then any user satisfying these derived permissions could access to the workspace.

Example:

  1. user1 : DS assign tableA and resourceB and makes some computation with the data to build an aggregated summary.
  2. user1 : saves the DS workspace with name "workspaceAB"
  3. user2 : has access to tableA and resourceB as well and then can initiate a DS session with "workspaceAB" data
  4. user3 : has access to tableA only and then cannot initiate a DS session with "workspaceAB"
  5. user2, user3 : when listing workspaces all the accessible workspaces are listed (not just the ones created like currently)
@ymarcon ymarcon self-assigned this Sep 16, 2021
@ymarcon ymarcon added improvement pinned Stale bot ignored labels Sep 16, 2021
@ymarcon
Copy link
Member Author

ymarcon commented Sep 16, 2021

@StuartWheater @davraam
Would you be interested in this feature?
Do you think that one would NOT like to have its workspace shared (even if accessible by others)?

@StuartWheater
Copy link

I think Opal's support for workspaces is a generally under used feature at the moment.

I was wondering it tracking the dependencies could get difficult, for example, user2 uses "workspaceAB" and "tableC", any saved workspace would be derived from tableA, tableC and resourceB.

If the access was permitted by the group a user was in, could that workspace be associated with that group of users?

@ymarcon
Copy link
Member Author

ymarcon commented Sep 16, 2021

Right, the permissions are the union of the assign operations + the permissions associated to the restored workspace.

In practice it is not possible to know whether a permission was granted to the user or was inherited from a group (or both), and it is not necessary to know that, the associated access control list approach is simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement pinned Stale bot ignored
Projects
None yet
Development

No branches or pull requests

2 participants