comparison doc/libervia-cli/file_share_affiliations.rst @ 3488:c80a0f864b5d

doc: updated doc following global renaming
author Goffi <goffi@goffi.org>
date Sun, 21 Mar 2021 18:23:58 +0100
parents doc/jp/file_share_affiliations.rst@7ebda4b54170
children 267e4987b58b
comparison
equal deleted inserted replaced
3487:75427f0a5445 3488:c80a0f864b5d
1 .. _libervia-cli_file_share_affiliations:
2
3 =============================================================
4 file/share/affiliations: file sharing affiliations management
5 =============================================================
6
7 ``affiliations`` let you manage access permission to your shared files repository, in a
8 way similar as for pubsub.
9
10 Affiliations with file sharing are not standard and will only work with the SàT file
11 sharing component.
12
13 Affiliations are similar to pubsub ones:
14
15 ``owner``
16 Has full permissions on the node, including changing affiliations. Owner can't be
17 changed at the moment.
18
19 ``publisher``
20 Can read, upload and delete files
21
22 ``member``
23 Can access file but can't modify them or add new ones
24
25 ``none``
26 Is not a member of this node, use it to remove an existing affiliation.
27
28
29 get
30 ===
31
32 Retrieve entities affiliated to this file sharing node, and their role
33
34 example
35 -------
36
37 Get affiliations of a file sharing node::
38
39 $ li file share affiliations get -P "/some/path" louise@files.example.org
40
41 set
42 ===
43
44 Set affiliations of an entity to a file sharing node.
45
46 examples
47 --------
48
49 Allow read access to a photo album to Louise::
50
51 $ li file share affiliations set -c files.example.net -P "/albums/holidays" -a louise@tazar2.int member
52
53 Remove access to a directory from an old address of Pierre, and give it to the new one::
54
55 $ li file share affiliations set -c files.example.net -N "some_namespace" -P
56 "/interesting/directory" -a pierre@example.com none -a pierre@example.org member