You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/markdown/documentation/cli/access.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,14 @@ The `url` argument is the target (container) resource for which access is to be
20
20
#### options
21
21
```
22
22
Options:
23
-
--acl Displays ACL specific information such as group and default access
24
23
-p, --pretty Pretty format
25
24
-v, --verbose Log all operations
26
25
```
27
-
The `--acl` option displays information specific to `.acl` resources,
28
-
such as `default` access indicating that the authorization is also enforced on child resources without their own `.acl` file
29
-
or `inhereted` access indicating that the access rules are derived from the default access of a parent resource.
26
+
Depending on if the target Solid pod is managed using the `WAC` or `ACP`
27
+
authorization system, options such as showing `default` access indicating
28
+
that the authorization is recursively enforced on child resources without their own `.acl` file
29
+
or `inhereted` access indicating that the access rules are derived from the default access of a parent resource
30
+
will be restricted to `WAC` based Solid servers.
30
31
<br />
31
32
The `--pretty` option outputs the information in a table format
32
33
<br />
@@ -71,31 +72,34 @@ For a container this allows resources to be added using both PUT and POST reques
71
72
#### options
72
73
```
73
74
Options:
74
-
--acl Enables ACL specific operations --default and --group
75
-
--default Set the defined permissions as default (only in --acl mode)
76
-
--group Process identifier as a group identifier (only in --acl mode)
75
+
--default Set the defined permissions as default (only when target pod is hosted on a WAC-based instance)
76
+
--group Process identifier as a group identifier (only when target pod is hosted on a WAC-based instance)
77
77
-v, --verbose Log all operations
78
78
-h, --help display help for command
79
79
```
80
-
The `--acl` option enables the default and group flags to be used, which are WAC specific operations.
80
+
The `--default` option makes the current access rules default for all children resources when defined on a container. Only available for pods hosted on a `WAC`-based Solid server.
81
81
<br />
82
-
The `--default` option makes the current access rules default for all children resources when defined on a container. Only available in `--acl` mode.
83
-
<br />
84
-
The `--group` option indicates that the identifier represents a group identifier. Only available in `--acl` mode.
82
+
The `--group` option indicates that the identifier represents a group identifier. Only available for pods hosted on a `WAC`-based Solid server.
85
83
<br />
86
84
The `--verbose` option outputs operation logs.
87
85
88
86
#### examples
89
-
Setting public read permissions for a resource
87
+
Setting default public read permissions for a resource hosted on a WAC-based solid pod
90
88
```
91
-
sld access set https://mypod.org/resource p=r
89
+
sld access set https://mypod.org/resource p=r --default
92
90
```
93
91
94
92
Giving access to alice to write to a container
95
93
```
96
94
sld access set http://mypod.org/container/ http://people.org/alice/webid=w
97
95
```
98
96
97
+
Removing all public permissions from a resource (making it effectively private).
98
+
Note that this will also remove any default permissions set on the resource.
0 commit comments