Skip to content

API v2 should not include the user's role in the responses #142

@kzalys

Description

@kzalys

Currently all API v2 operations that return the User entity, include the user's role in the response.

The user's role is specific to hs_auth's internal implementation and hs_auth's consumers should not depend on the user's role, permissions should be checked via the GetAuthorizedURIs operation. As such, we should update the API v2 responses to omit the role whenever a User is returned.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions