fix: adjust test to new wording

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
This commit is contained in:
Julian Koberg
2026-01-09 10:05:38 +01:00
parent e72de1609d
commit 20a831f4f0
8 changed files with 126 additions and 126 deletions

View File

@@ -211,7 +211,7 @@ Feature: permissions role definitions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -296,10 +296,10 @@ Feature: permissions role definitions
"const": 0
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -356,10 +356,10 @@ Feature: permissions role definitions
"const": 0
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -438,10 +438,10 @@ Feature: permissions role definitions
"const": 0
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -491,7 +491,7 @@ Feature: permissions role definitions
"const": 0
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"

View File

@@ -214,8 +214,8 @@ Feature: an user shares resources
"required": ["@libre.graph.weight", "description", "displayName", "id" ],
"properties": {
"@libre.graph.weight": { "const": 2 },
"description": { "const": "View, download and edit." },
"displayName": { "const": "Can edit without versions" },
"description": { "const": "View, download, upload and edit." },
"displayName": { "const": "Can edit" },
"id": { "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" }
}
},
@@ -223,7 +223,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can edit" }
"displayName": { "const": "Can edit with versions and show invitees" }
}
}
]
@@ -275,8 +275,8 @@ Feature: an user shares resources
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"@libre.graph.weight": { "const": 2 },
"description": { "const": "View, download and edit." },
"displayName": { "const": "Can edit without versions" },
"description": { "const": "View, download, upload and edit." },
"displayName": { "const": "Can edit" },
"id": { "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" }
}
},
@@ -284,7 +284,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can edit" }
"displayName": { "const": "Can edit with versions and show invitees" }
}
}
]
@@ -332,7 +332,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can upload" }
"displayName": { "const": "Can edit" }
}
},
{
@@ -341,7 +341,7 @@ Feature: an user shares resources
"properties": {
"@libre.graph.weight": { "const": 3 },
"description": { "const": "View, download, upload, edit, add and delete." },
"displayName": { "const": "Can edit without versions" },
"displayName": { "const": "Can edit with trashbin" },
"id": { "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" }
}
},
@@ -349,7 +349,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can edit" }
"displayName": { "const": "Can edit with trashbin, versions and show invitees" }
}
}
]
@@ -400,7 +400,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can upload" }
"displayName": { "const": "Can edit" }
}
},
{
@@ -409,7 +409,7 @@ Feature: an user shares resources
"properties": {
"@libre.graph.weight": { "const": 3 },
"description": { "const": "View, download, upload, edit, add and delete." },
"displayName": { "const": "Can edit without versions" },
"displayName": { "const": "Can edit with trashbin" },
"id": { "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" }
}
},
@@ -417,7 +417,7 @@ Feature: an user shares resources
"type": "object",
"required": ["@libre.graph.weight", "description", "displayName", "id"],
"properties": {
"displayName": { "const": "Can edit" }
"displayName": { "const": "Can edit with trashbin, versions and show invitees" }
}
}
]

View File

@@ -1179,7 +1179,7 @@ Feature: ListGrants role
"properties": {
"@libre.graph.weight": {"const": 2},
"description": {"const": "View, download and show all invited people."},
"displayName": {"const": "Can view"},
"displayName": {"const": "Can view and show invitees"},
"id": {"const": "d5041006-ebb3-4b4a-b6a4-7c180ecfb17d"}
}
},
@@ -1187,14 +1187,14 @@ Feature: ListGrants role
"type": "object",
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"displayName": {"const": "Can upload"}
"displayName": {"const": "Can edit with trashbin"}
}
},
{
"type": "object",
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"displayName": {"const": "Can edit without versions"}
"displayName": {"const": "Can edit"}
}
}
]
@@ -1242,7 +1242,7 @@ Feature: ListGrants role
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"@libre.graph.weight": {"const": 2},
"displayName": {"const": "Can edit without versions"},
"displayName": {"const": "Can edit"},
"id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"}
}
},
@@ -1251,8 +1251,8 @@ Feature: ListGrants role
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"@libre.graph.weight": {"const": 3},
"description": {"const": "View, download, edit and show all invited people."},
"displayName": {"const": "Can edit without versions"},
"description": {"const": "View, download, upload, edit and show all invited people."},
"displayName": {"const": "Can edit and show invitees"},
"id": {"const": "c1235aea-d106-42db-8458-7d5610fb0a67"}
}
}

View File

@@ -90,7 +90,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -186,10 +186,10 @@ Feature: filter sharing permissions
"const": 2
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -308,10 +308,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -334,7 +334,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -453,10 +453,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -528,10 +528,10 @@ Feature: filter sharing permissions
"const": 2
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -554,7 +554,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -650,10 +650,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -775,10 +775,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -900,10 +900,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -926,7 +926,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -1025,10 +1025,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -1051,7 +1051,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -1150,10 +1150,10 @@ Feature: filter sharing permissions
"const": 3
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -1205,8 +1205,8 @@ Feature: filter sharing permissions
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"@libre.graph.weight": {"const": 2},
"description": {"const": "View, download and edit."},
"displayName": {"const": "Can edit without versions"},
"description": {"const": "View, download, upload and edit."},
"displayName": {"const": "Can edit"},
"id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" }
}
}
@@ -1256,7 +1256,7 @@ Feature: filter sharing permissions
"properties": {
"@libre.graph.weight": {"const": 2},
"description": {"const": "View, download, upload, edit, add and delete."},
"displayName": {"const": "Can edit without versions"},
"displayName": {"const": "Can edit with trashbin"},
"id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"}
}
}
@@ -1308,8 +1308,8 @@ Feature: filter sharing permissions
"required": ["@libre.graph.weight","description","displayName","id"],
"properties": {
"@libre.graph.weight": {"const": 2},
"description": {"const": "View, download and edit."},
"displayName": {"const": "Can edit without versions"},
"description": {"const": "View, download, upload and edit."},
"displayName": {"const": "Can edit"},
"id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"}
}
}
@@ -1362,7 +1362,7 @@ Feature: filter sharing permissions
"properties": {
"@libre.graph.weight": {"const": 2},
"description": {"const": "View, download, upload, edit, add and delete."},
"displayName": {"const": "Can edit without versions"},
"displayName": {"const": "Can edit with trashbin"},
"id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"}
}
}

View File

@@ -86,10 +86,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -112,7 +112,7 @@ Feature: List a sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -209,10 +209,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -232,7 +232,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -342,10 +342,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -365,7 +365,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -606,10 +606,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -706,10 +706,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download and upload."
"const": "View, download, upload, edit and add."
},
"displayName": {
"const": "Can upload"
"const": "Can edit"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
@@ -732,7 +732,7 @@ Feature: List a sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -829,10 +829,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download and edit."
"const": "View, download, upload and edit."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -954,10 +954,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -978,7 +978,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -1077,10 +1077,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -1100,7 +1100,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -1361,10 +1361,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -1385,7 +1385,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -1703,10 +1703,10 @@ Feature: List a sharing permissions
"const": 2
},
"description": {
"const": "View, download, upload, edit, add, delete including the history."
"const": "View, download, upload, edit, add, show all versions and delete."
},
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
},
"id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -1726,7 +1726,7 @@ Feature: List a sharing permissions
"const": 3
},
"description": {
"const": "View, download, upload, edit, add, delete and manage members."
"const": "View, download, upload, edit, add, show all versions, delete and manage members."
},
"displayName": {
"const": "Can manage"
@@ -2234,7 +2234,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can upload"
"const": "Can edit"
}
}
},
@@ -2248,7 +2248,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
}
}
}
@@ -2314,7 +2314,7 @@ Feature: List a sharing permissions
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
},
"id": {
"const": "3284f2d5-0070-4ad8-ac40-c247f7c1fb27"
@@ -2332,7 +2332,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can edit"
"const": "Can edit with versions and trashbin"
}
}
},
@@ -2427,7 +2427,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can upload"
"const": "Can edit"
}
}
},
@@ -2441,7 +2441,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
}
}
}
@@ -2524,7 +2524,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can upload"
"const": "Can edit"
}
}
},
@@ -2538,7 +2538,7 @@ Feature: List a sharing permissions
],
"properties": {
"displayName": {
"const": "Can edit without versions"
"const": "Can edit with trashbin"
}
}
}

View File

@@ -15,14 +15,14 @@ Feature: List unified roles
| SpaceViewer | enabled | View and download. |
| Editor | enabled | View, download, upload, edit, add and delete. |
| EditorListGrants | disabled | View, download, upload, edit, add, delete and show all invited people. |
| EditorListGrantsWithVersions | disabled | View, download, upload, edit, delete and show all invited people, show all versions. |
| SpaceEditor | enabled | View, download, upload, edit, add, delete including the history. |
| SpaceEditorWithoutVersions | disabled | View, download, upload, edit, add and delete. |
| SpaceEditorWithoutTrashbin | disabled | View, download, upload, edit, add and delete. |
| FileEditor | enabled | View, download and edit. |
| FileEditorListGrants | disabled | View, download, edit and show all invited people. |
| FileEditorListGrantsWithVersions | disabled | View, download, edit and show all invited people, show all versions. |
| EditorLite | enabled | View, download and upload. |
| Manager | enabled | View, download, upload, edit, add, delete and manage members. |
| EditorListGrantsWithVersions | disabled | View, download, upload, edit, delete, show all versions and all invited people. |
| SpaceEditor | enabled | View, download, upload, edit, add, show all versions and delete. |
| SpaceEditorWithoutVersions | disabled | View, download, upload, edit and add. |
| SpaceEditorWithoutTrashbin | disabled | View, download, upload, edit, add and show all versions. |
| FileEditor | enabled | View, download, upload and edit. |
| FileEditorListGrants | disabled | View, download, upload, edit and show all invited people. |
| FileEditorListGrantsWithVersions | disabled | View, download, upload, edit, show all versions and all invited people. |
| EditorLite | enabled | View, download, upload, edit and add. |
| Manager | enabled | View, download, upload, edit, add, show all versions, delete and manage members. |
| SecureViewer | disabled | View only documents, images and PDFs. Watermarks will be applied. |
| Denied | disabled | Deny all access. |