From 49ce05171c74f9a23dd2685f2a1796cd5ebd6101 Mon Sep 17 00:00:00 2001 From: plt Date: Mon, 4 Jan 2021 20:46:44 +0800 Subject: [PATCH] Improve OCM document --- manual/deploy/ocm.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/manual/deploy/ocm.md b/manual/deploy/ocm.md index 4bff6471..b17dd9d3 100644 --- a/manual/deploy/ocm.md +++ b/manual/deploy/ocm.md @@ -1,8 +1,8 @@ -# OCM +# Open Cloud Mesh -From 8.0.0, Seafile supports [OCM protocol](https://rawgit.com/GEANT/OCM-API/v1/docs.html). +From 8.0.0, Seafile supports [OCM protocol](https://rawgit.com/GEANT/OCM-API/v1/docs.html). With OCM, user can share library to other server which enabled OCM too. -With OCM, user can share library to other server which enabled OCM too. +Seafile currently support connect to other Seafile servers with version greater than 8.0. ## Configuration @@ -11,7 +11,7 @@ Add the following configuration to `seahub_settings.py`. ```python # Enable OCM ENABLE_OCM = True -OCM_PROVIDER_ID = '71687320-6219-47af-82f3-32012707a5ae' # server unique id +OCM_PROVIDER_ID = '71687320-6219-47af-82f3-32012707a5ae' # the unique id of this server OCM_REMOTE_SERVERS = [ { "server_name": "dev", @@ -24,14 +24,16 @@ OCM_REMOTE_SERVERS = [ ] ``` -## Instructions +OCM_REMOTE_SERVERS is the list of servers that you want your users to share libraries with. -#### Share library to other server +## Usage + +### Share library to other server In the library sharing dialog, jump to "Share to other server", you can share this library to user of other server with "Read-Only" or "Read-Write" permission. Also you can view shared records and cancel sharing. ![ocm-share-to-other-server](../images/ocm-share-to-other-server.png) -#### View be shared libraries +### View be shared libraries You can jump to "Shared from other servers" page to view the libraries shared by other servers and cancel the sharing. ![ocm-list-be-shared-libraries](../images/ocm-list-be-shared-libraries.png)