Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Manage navigation entry is not hidden if the user does not have ROLE_MANAGE #1843

Open
@klopfdreh

Description

@klopfdreh
Contributor

Hey,

I was expecting the menu entry to be hidden when the user does not have the role "ROLE_MANAGE" in the spring cloud data flow server ui:

image

My question is how I can make this entry not visible with "Customizing Authorization" mentioned here: https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#configuration-security-customizing-authorization

kind regards and thanks in advance.

Activity

oodamien

oodamien commented on Apr 20, 2022

@oodamien
Contributor

Hi @klopfdreh,
ROLE_MANAGE is not meant to be used on the UI part (see the definition you pointed).
We will have in the following days a discussion with the team to see how we can answer to this request.

klopfdreh

klopfdreh commented on Apr 20, 2022

@klopfdreh
ContributorAuthor

Hey @oodamien,
yes I saw it - online for the spring boot admin actuator endpoints. Thanks for the information, I wait till your answer. 👍

markpollack

markpollack commented on Apr 21, 2022

@markpollack
Contributor

Thanks for the input, we are going to review this functionality and look into defining new roles that will make these menu options available that are separate from the current use of the role_manage for actuator endpoints.

klopfdreh

klopfdreh commented on Apr 21, 2022

@klopfdreh
ContributorAuthor

Sounds great! Looking forward for that implementation. You can add me as reviewer. 👍

klopfdreh

klopfdreh commented on Mar 8, 2023

@klopfdreh
ContributorAuthor

Hey @markpollack / @oodamien - are there any updates when this feature is going to be implemented?

Currently I am patching the UI manually so that the Manage menu entry is not shown when you don't have the ROLE_MANAGE.

Unfortunately, this is not very secure as this entry is only hidden but you can still access it when you know the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageTeam needs to triage and take a first look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @markpollack@oodamien@klopfdreh

        Issue actions

          Manage navigation entry is not hidden if the user does not have ROLE_MANAGE · Issue #1843 · spring-attic/spring-cloud-dataflow-ui