test: fix acceptance tests after adjusting share roles

This commit is contained in:
Jannik Stehle
2024-03-27 11:12:17 +01:00
parent 2968570a84
commit 66b29dcf5b
@@ -71,13 +71,13 @@ Feature: List a sharing permissions
"description": { "description": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Allows upload file or folder" "View, download and upload."
] ]
}, },
"displayName": { "displayName": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Uploader" "Can upload"
] ]
}, },
"id": { "id": {
@@ -106,13 +106,13 @@ Feature: List a sharing permissions
"description": { "description": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Allows reading the shared file or folder" "View and download."
] ]
}, },
"displayName": { "displayName": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Viewer" "Can view"
] ]
}, },
"id": { "id": {
@@ -141,13 +141,13 @@ Feature: List a sharing permissions
"description": { "description": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Allows reading and updating file" "View, download and edit."
] ]
}, },
"displayName": { "displayName": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Editor" "Can edit"
] ]
}, },
"id": { "id": {
@@ -176,13 +176,13 @@ Feature: List a sharing permissions
"description": { "description": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Allows creating, reading, updating and deleting the shared file or folder" "View, download, upload, edit, add and delete."
] ]
}, },
"displayName": { "displayName": {
"type": "string", "type": "string",
"enum": [ "enum": [
"Editor" "Can edit"
] ]
}, },
"id": { "id": {
@@ -260,10 +260,10 @@ Feature: List a sharing permissions
"const": 1 "const": 1
}, },
"description": { "description": {
"const": "Allows reading the shared space" "const": "View and download."
}, },
"displayName": { "displayName": {
"const": "Space Viewer" "const": "Can view"
}, },
"id": { "id": {
"const": "a8d5fe5e-96e3-418d-825b-534dbdf22b99" "const": "a8d5fe5e-96e3-418d-825b-534dbdf22b99"
@@ -283,10 +283,10 @@ Feature: List a sharing permissions
"const": 2 "const": 2
}, },
"description": { "description": {
"const": "Allows creating, reading, updating and deleting file or folder in the shared space" "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Space Editor" "const": "Can edit"
}, },
"id": { "id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d" "const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -306,10 +306,10 @@ Feature: List a sharing permissions
"const": 3 "const": 3
}, },
"description": { "description": {
"const": "Grants manager permissions on a resource. Semantically equivalent to co-owner" "const": "View, download, upload, edit, add, delete and manage members."
}, },
"displayName": { "displayName": {
"const": "Manager" "const": "Can manage"
}, },
"id": { "id": {
"const": "312c0871-5ef7-4b3a-85b6-0e4074c64049" "const": "312c0871-5ef7-4b3a-85b6-0e4074c64049"
@@ -394,10 +394,10 @@ Feature: List a sharing permissions
"const": 1 "const": 1
}, },
"description": { "description": {
"const": "Allows reading the shared space" "const": "View and download."
}, },
"displayName": { "displayName": {
"const": "Space Viewer" "const": "Can view"
}, },
"id": { "id": {
"const": "a8d5fe5e-96e3-418d-825b-534dbdf22b99" "const": "a8d5fe5e-96e3-418d-825b-534dbdf22b99"
@@ -417,10 +417,10 @@ Feature: List a sharing permissions
"const": 2 "const": 2
}, },
"description": { "description": {
"const": "Allows creating, reading, updating and deleting file or folder in the shared space" "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Space Editor" "const": "Can edit"
}, },
"id": { "id": {
"const": "58c63c02-1d89-4572-916a-870abc5a1b7d" "const": "58c63c02-1d89-4572-916a-870abc5a1b7d"
@@ -440,10 +440,10 @@ Feature: List a sharing permissions
"const": 3 "const": 3
}, },
"description": { "description": {
"const": "Grants manager permissions on a resource. Semantically equivalent to co-owner" "const": "View, download, upload, edit, add, delete and manage members."
}, },
"displayName": { "displayName": {
"const": "Manager" "const": "Can manage"
}, },
"id": { "id": {
"const": "312c0871-5ef7-4b3a-85b6-0e4074c64049" "const": "312c0871-5ef7-4b3a-85b6-0e4074c64049"