mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Add control permission to PermissionSet
This is in preparation of generalizing permissions of auxiliary resources.
This commit is contained in:
@@ -36,6 +36,7 @@ describe('A WebAclAuthorizer', (): void => {
|
||||
read: true,
|
||||
append: false,
|
||||
write: true,
|
||||
control: false,
|
||||
};
|
||||
credentials = {};
|
||||
identifier = { path: 'http://test.com/foo' };
|
||||
@@ -169,6 +170,7 @@ describe('A WebAclAuthorizer', (): void => {
|
||||
read: false,
|
||||
write: false,
|
||||
append: true,
|
||||
control: false,
|
||||
};
|
||||
store.getRepresentation = async(): Promise<Representation> => ({ data: streamifyArray([
|
||||
quad(nn('auth'), nn(`${acl}agent`), nn(credentials.webId!)),
|
||||
|
||||
Reference in New Issue
Block a user