Open AndrChristina opened 2 years ago
Environment: Windows 7, Google Chrome v.103.0.5060.134, Postman for Web v. 9.28.1-220808-1444. Reproducible: always.
Preconditions Choose the user as a member of cooperation A (e.g. Затишок) and try to invite new users to cooperation B (e.g. Крила ночііі).
Steps to reproduce
{ "type": "cooperation", "email": "fgfdsgfdra@protonmail.com", "cooperation_id": 1, "role": "user" }
Actual result Getting 201 Created status code
Expected result Should be 403 Forbidden error (You do not have permission to perform this action.)
User story and test case links "Task #477"
Labels to be added "Bug", Priority ("pri: critical"), Severity ("severity: major"), Type ("Functional"), "API" (for back-end bugs).
Environment: Windows 7, Google Chrome v.103.0.5060.134, Postman for Web v. 9.28.1-220808-1444. Reproducible: always.
Preconditions Choose the user as a member of cooperation A (e.g. Затишок) and try to invite new users to cooperation B (e.g. Крила ночііі).
Steps to reproduce
Actual result Getting 201 Created status code
Expected result Should be 403 Forbidden error (You do not have permission to perform this action.)
User story and test case links "Task #477"
Labels to be added "Bug", Priority ("pri: critical"), Severity ("severity: major"), Type ("Functional"), "API" (for back-end bugs).