Skip to content

[test] Access check does not work correctly in unittests #119

Description

@frgfm

While I was changing scopes on some routes, I noticed something:

  • changes on the scope requirements do impact the API behaviour expectedly
  • however in the unittest, even if the get_current_access yields an access with insufficient scope, the request is still being processed

We would need to investigate and fix this to be able to check scopes in the unittests.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions