Skip to content

READER role inconsistencies UI vs. API #3142

@hanna-modica

Description

@hanna-modica

I found that the READER role in the UI are not consistent with the rights it has in the API.

  1. Reading users, secrets and infrastructure services is allowed for READER (and WRITER) in the API, but in the UI the menu is not available. If I try to access the url for the ui, e.g. /ui/organizations/{organizationId}/users as a READER directly, I see a 403 forbidden. If I do a GET request to /api/v1/organizations/{organizationId}/users with the same READER user, I get a 200 response and the body contains the user list.
    The UI should show those read options also in the menu
  2. READER user has button to start a re(run) in the UI, even though when starting the run, a 403 will be returned. Same for creating repositories and products.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssues related to the API.uiIssues related to the UI.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions