Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[portal] Applications menu item visible even though no permission is granted #2565

Closed
manuelottlik opened this issue Sep 2, 2019 · 2 comments

Comments

@manuelottlik
Copy link

@manuelottlik manuelottlik commented Sep 2, 2019

The menu item "Applications" is visible in the user menu in the top right corner and the menu inside the management view even though the user does not have the permission to manage applications.

Expected Behavior

The user does not have any CRUD permission on APPLICATIONS in the scope PORTAL nor MANAGEMENT, so there should be no menu items linking to that view.

Current Behavior

Even when a user has no CRUD permissions on APPLICATIONS in the scope PORTAL or MANAGEMENT the menu item for applications in shown in the user menu in the top right and the management menu.

Possible Solution

i have no idea

Steps to Reproduce (for bugs)

please refer to this video

Context

I was trying to setup roles for our company giving no permissions to the user at all and then starting to add permission by permission to see how they affect the possibilities the user has.

Your Environment

  • Version used: 1.28.1
  • Browser Name and version: Chrome 76.0.3809.100
  • Operating System and version: macOS 10.14.6
@manuelottlik

This comment has been minimized.

Copy link
Author

@manuelottlik manuelottlik commented Oct 30, 2019

Is there any update on this issue? Its not a big deal, just improves the UX.

@aelamrani

This comment has been minimized.

Copy link
Member

@aelamrani aelamrani commented Oct 30, 2019

Thanks for the report, for the moment a fix/improvment is not planned for this, but a PR would be welcome.

brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue Oct 30, 2019
If user does not have a read permission for management-application or portal-application

Closes gravitee-io/issues#2565
@brasseld brasseld added this to the APIM - 1.29.x milestone Oct 30, 2019
@brasseld brasseld changed the title Applications menu item visible even though no permission is granted [portal] Applications menu item visible even though no permission is granted Oct 30, 2019
@brasseld brasseld self-assigned this Oct 30, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Nov 5, 2019
If user does not have a read permission for management-application or portal-application

Closes gravitee-io/issues#2565
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Nov 5, 2019
If user does not have a read permission for management-application or portal-application

Closes gravitee-io/issues#2565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
4 participants
You can’t perform that action at this time.