Mercurial > libervia-backend
comparison doc/jp/file_share_configuration.rst @ 3325:7ebda4b54170
jp (file/share): added commands to manage affiliations and configuration + documentation
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 Aug 2020 16:25:50 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3324:b57b5e42e894 | 3325:7ebda4b54170 |
---|---|
1 .. _jp-file_share_configuration: | |
2 | |
3 ========================================================= | |
4 file/share/configuration: file sharing node configuration | |
5 ========================================================= | |
6 | |
7 ``configuration`` commands are use to check or modify settings of a file sharing node. | |
8 This is not standard and specific to SàT file sharing component. | |
9 | |
10 The configuration is similar as pubsub one. | |
11 | |
12 Only ``access_model`` can be used so far, with the ``open`` or ``whitelist`` values. | |
13 | |
14 | |
15 get | |
16 === | |
17 | |
18 Retrieve file sharing node configuration. | |
19 | |
20 example | |
21 ------- | |
22 | |
23 Get configuration of a file sharing node:: | |
24 | |
25 $ jp file share configuration get -P "/some/path" louise@files.example.org | |
26 | |
27 set | |
28 === | |
29 | |
30 Set configuration of a file sharing node. | |
31 | |
32 example | |
33 ------- | |
34 | |
35 Make a repository public:: | |
36 | |
37 $ jp file share configuration set -c files.example.net -P "/public_files" -f | |
38 access_model open |