@inrupt/solid-client / acl/group
Module: acl/group¶
Table of contents¶
Functions¶
getGroupAccess¶
▸ getGroupAccess(resourceInfo
: WithAcl & WithServerResourceInfo, group
: UrlString): Access | null
Note
This function is still experimental and subject to change, even in a non-major release.
Returns a Group’s explicity-granted Access Modes for a given Resource.
The function does not return Access Modes granted indirectly to the Group through other ACL rules, e.g., public permissions.
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
WithAcl & WithServerResourceInfo |
Information about the Resource to which the given Group may have been granted access. |
|
URL of the Group for which to retrieve what access it has to the Resource. |
Returns: Access | null
Access Modes that have been explicitly granted to the group
for the given Resource, or null
if it could not be determined (e.g. because the current user does not have Control Access to a given Resource or its Container).
Defined in: src/acl/group.ts:57
getGroupAccessAll¶
▸ getGroupAccessAll(resourceInfo
: WithAcl & WithServerResourceInfo): Record<IriString, Access> | null
Note
This function is still experimental and subject to change, even in a non-major release.
Returns all explicitly-granted Access Modes per Group for the given Resource.
The function does not return Access Modes granted indirectly to the Group through other ACL rules, e.g., public permissions.
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
WithAcl & WithServerResourceInfo |
Information about the Resource to which the given Group may have been granted access. |
Returns: Record<IriString, Access> | null
Access Modes per Group that have been explicitly granted for the given Resource, or null
if it could not be determined (e.g. because the current user does not have Control Access to a given Resource or its Container).
Defined in: src/acl/group.ts:82
getGroupDefaultAccess¶
▸ getGroupDefaultAccess(aclDataset
: AclDataset, group
: UrlString): Access
Note
This function is still experimental and subject to change, even in a non-major release.
Returns a Group’s Access Modes explicitly granted for the children of the Container associated with an ACL (Access ControlList).
The function does not return:
Access Modes granted indirectly to the Group through other ACL rules, e.g. public permissions.
Access Modes granted to the Group for the Container Resource itself (see getGroupResourceAccess instead).
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
The SolidDataset that contains ACL rules for a certain Container. |
|
|
URL of the Group for which to retrieve what access it has to the child Resources of the given Container. |
Returns: Access
Access Modes that have been explicitly granted to the Group for the children of the Container associated with the given ACL.
Defined in: src/acl/group.ts:166
getGroupDefaultAccessAll¶
▸ getGroupDefaultAccessAll(aclDataset
: AclDataset): Record<UrlString, Access>
Note
This function is still experimental and subject to change, even in a non-major release.
Returns the Access Modes, per Group, that have been explicitly granted for the children of the Container associated with the given ACL (Access Control List).
The function does not return:
Access Modes granted indirectly to the Groups through other ACL rules, e.g. public permissions.
Access Modes granted to the Groups for the Container Resource itself (see getGroupResourceAccessAll instead).
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
The SolidDataset that contains Access Control List rules for a certain Container. |
Returns: Record<UrlString, Access>
Access Modes per Group that have been explicitly granted for the children of the Container associated with the given ACL SolidDataset.
Defined in: src/acl/group.ts:194
getGroupResourceAccess¶
▸ getGroupResourceAccess(aclDataset
: AclDataset, group
: UrlString): Access
Note
This function is still experimental and subject to change, even in a non-major release.
Returns the Access Modes explicitly granted to a Group for the Resource associated with an ACL (Access Control List).
The function does not return:
Access Modes granted indirectly to the Group through other ACL rules, e.g., public permissions.
Access Modes granted to the Group for the child Resources if the associated Resource is a Container (see getGroupDefaultAccess instead).
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
The SolidDataset that contains Access Control List rules. |
|
|
URL of the Group for which to retrieve what access it has to the Resource. |
Returns: Access
Access Modes explicitly granted to a Group for the Resource associated with an ACL.
Defined in: src/acl/group.ts:112
getGroupResourceAccessAll¶
▸ getGroupResourceAccessAll(aclDataset
: AclDataset): Record<UrlString, Access>
Note
This function is still experimental and subject to change, even in a non-major release.
Returns the explicitly granted Access Modes per Group for the Resource associated with an ACL (Access Control List).
The function does not return:
Access Modes granted indirectly to the Group through other ACL rules, e.g., public permissions.
Access Modes granted to Groups for the child Resources if the associated Resource is a Container.
Parameters:¶
Name |
Type |
Description |
---|---|---|
|
The SolidDataset that contains Access Control List rules. |
Returns: Record<UrlString, Access>
Access Modes per Group that have been explicitly granted for the Resource associated with an ACL.
Defined in: src/acl/group.ts:140