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

[management] Settings menu is not displaying menu elements according to set permissions #2555

Closed
manuelottlik opened this issue Aug 28, 2019 · 1 comment

Comments

@manuelottlik
Copy link

commented Aug 28, 2019

Menu elements in the settings section of the management are not shown when a user has READ permissions only.

Expected Behavior

Once a user gets a READ permission on METADATA in the PORTAL scope the metadata menu element should be visible to the user.

Current Behavior

The metadata menu element is only visible once the user has not only READ but also CREATE permissions on METADATA in the PORTAL scope. The view can be reached via the URL though.

Possible Solution

i have no idea, it might be linked to #2554 though

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
brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue Aug 28, 2019
@brasseld brasseld self-assigned this Aug 28, 2019
@brasseld brasseld changed the title Settings menu is not displaying menu elements according to set permissions [management] Settings menu is not displaying menu elements according to set permissions Aug 28, 2019
@brasseld brasseld added this to the APIM - 1.29.0 milestone Aug 28, 2019
@manuelottlik

This comment has been minimized.

Copy link
Author

commented Aug 28, 2019

Thank you - this issues occurs on multiple menu items tho. According to your commit, the following menu items also lack the READ permission in the array:

  • documentation
  • topApis
  • views
  • api_logging
  • tags
  • tenants
  • users
  • groups
  • notifications

I do not know which of these are intended due to business logic tho.

aelamrani added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 3, 2019
aelamrani added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 3, 2019
aelamrani added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 3, 2019
aelamrani added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 3, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 6, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 6, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
3 participants
You can’t perform that action at this time.