Skip to content

User has a role A (isDirect false), we attach same role A but API returns isDirect false for both roles A #74

Description

@justinehell

Describe the bug

User has a role A (isDirect=false). If we attach same role, we see that the API return both roles with isDirect = false.

To Reproduce

bug_attached_role.mp4

Expected behavior

In this case, we expect to have one role with isDirect = false and the other (that has been directly attached to the user) with isDirect = true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions