tests/conftest.py: fix test for modifying another users' shares

This commit is contained in:
dogeystamp 2023-04-29 12:17:32 -04:00
parent 424de4f282
commit c0d4be8363
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 5 additions and 2 deletions

View File

@ -122,7 +122,7 @@ class FileContentAPI(ModelAPI):
jsonify(
{
"status": "fail",
"message": "Share must be initialized by its owner.",
"message": "Share must be modified by its owner.",
}
),
403,

View File

@ -75,7 +75,10 @@ def users(client):
dave=dict(
password="1234",
permissions=Bitmask(
Permissions.CREATE, Permissions.READ, Permissions.DELETE
Permissions.CREATE,
Permissions.READ,
Permissions.DELETE,
Permissions.MODIFY,
),
),
# admins don't have the other permissions by default,