che icon indicating copy to clipboard operation
che copied to clipboard

Mention how to enable workspace sharing (and its risks) in docs

Open l0rd opened this issue 6 years ago • 10 comments

Is your enhancement related to a problem? Please describe.

Organisations and workspace sharing are disabled from the dashboard. Documentation doesn't mention how to enable that and the reason why it's disabled by default and we discourage it.

Describe the solution you'd like

We should mention how organisations and sharing can be enabled.

For workspace sharing we should explain that it's disabled because of the security risks associated with it and mention that sharing a workspace is possible via devfile and add a link to this WIP issue https://github.com/eclipse/che/issues/16875.

For organizations we should mention that the old model was designed to run on a docker infrastructure and that we are still analysing how to implement organisations properly on Kubernetes but that it's likely that it will leverage Kubernetes resource limits and requests (something that is currently possible manually).

l0rd avatar Jul 15 '20 07:07 l0rd

@l0rd does this require building a custom che-theia with an updated product.json as per Branding Che-Theia?

tomgeorge avatar Aug 05 '20 18:08 tomgeorge

Can you elaborate on some of the security risks involved with enabling sharing?

tomgeorge avatar Aug 05 '20 18:08 tomgeorge

@tomgeorge when sharing a workspace any secret that is mounted on the workspace containers will be shared as well (as ssh key pairs, Kubernetes and GitHub tokens etc...). In most enterprises sharing those personal information is not allowed.

l0rd avatar Aug 23 '20 21:08 l0rd

how to share with api some workspace ?

vanhemn avatar Oct 27 '20 15:10 vanhemn

Docs Jira issue: https://issues.redhat.com/browse/RHDEVDOCS-2574

yhontyk avatar Jan 28 '21 12:01 yhontyk

It looks pages for organizations are removed in the new react-based dashboard. So I guess nobody can operate it via the dashboard UI after the next release. (Even though APIs are still alive.)

monaka avatar Feb 07 '21 06:02 monaka

@monaka that's true. Thanks for catching it. So, closing this issue and if anybody needs an ability to share the workspace, new issue should be created/or contribution provided to implement it on the new React-based dashboard.

@Dracks977 Here you should be able to find info how to achieve the same with Rest API, or Swagger UI Che provides https://www.eclipse.org/che/docs/che-7/administration-guide/authorizing-users/ Feel free to ask if it's not clear enough.

sleshchenko avatar Feb 08 '21 08:02 sleshchenko

There is still value in having this documented even whilst it cannot be enabled through the dashboard. We wanted to be able to explain why the functionality was disabled and how a user could choose to enable if they are comfortable with the risks.

sympatheticmoose avatar Feb 08 '21 09:02 sympatheticmoose

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Aug 09 '21 13:08 che-bot

This is still missing from the documentation.

/remove-lifecycle stale

tracetechnical avatar Aug 05 '22 16:08 tracetechnical