Skip to content

List of missing or broken backend user right tests #1216

Description

@juhanikat

Locality

  • update.test.ts: Locality tests under the 'works with edge cases, and fails with invalid values' block throw error 500 unless resetDatabase() is called before each test. This means they don't even test updating currently, they just create new localities.
  • update.test.ts: We should test that an EditRestricted user is not able to update a locality that does not have the user as a member of a linked project (see also EditRestricted users can unlink a locality from a project (if they have created that locality), and still edit it #1215 ). I tried to create a test for this but ran into an issue where the server threw a error with code 500 when trying to edit a locality which the user previously had access to.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions