Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

[Authorization] Evaluating a non-existent policy returns "false" #514

@leastprivilege

Description

@leastprivilege

When doing this:

if (await _authz.AuthorizeAsync(User, "does_not_exist"))

I get back false.

Doing the same in an Authorize attribute - it throws an exception.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions