Skip to content

Improvement: Role not found #35

@ruslanguns

Description

@ruslanguns

By default if you have an unknown role the server throws an error:

[Nest] 12948   - 2020-05-15 17:03:24   [ExceptionsHandler] Role not found: "ASDFASDF" +325454ms
AccessControlError: Role not found: "ASDFASDF"

and returns an object like this:

{
    "statusCode": 500,
    "message": "Internal server error"
}

In my opinion ACL should just ignore this unknown role. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions