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

Data Explorer dropdown shows system entity types to users again #7534

Closed
tommydeboer opened this issue Jul 11, 2018 · 1 comment
Closed

Data Explorer dropdown shows system entity types to users again #7534

tommydeboer opened this issue Jul 11, 2018 · 1 comment
Assignees
Milestone

Comments

@tommydeboer
Copy link
Collaborator

How to Reproduce

  1. Add a user
  2. Add a group
  3. Add the user to the group's VIEWER role.
  4. Log in as the user and go to the data explorer
  5. Observe the contents of the entity select box

Expected behavior

User only sees non-system entity types. (None, in this case.)

Observed behavior

image

@bartcharbon
Copy link
Member

bartcharbon commented Jul 16, 2018

This is caused by the fact that you have permissions on these entities but not on their package, which results in entityTypes that return null for the getPackage. The isSystemEntityType check then concludes that this is not a system entity.

@bartcharbon bartcharbon assigned fdlk and unassigned bartcharbon Jul 16, 2018
fdlk added a commit to fdlk/molgenis that referenced this issue Jul 16, 2018
It allows users to read entity type metadata and view packages.
Fixes molgenis#7534
fdlk added a commit to fdlk/molgenis that referenced this issue Jul 17, 2018
It allows users to read entity type metadata and view packages.
Fixes molgenis#7534
fdlk added a commit to fdlk/molgenis that referenced this issue Jul 17, 2018
It allows users to read entity type metadata and view packages.
Fixes molgenis#7534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants