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

Filter role does not contain permission to DateIntervalDialog #3121

Closed
Flaurite opened this issue Apr 10, 2024 · 2 comments
Closed

Filter role does not contain permission to DateIntervalDialog #3121

Flaurite opened this issue Apr 10, 2024 · 2 comments
Assignees
Labels
in: ui size: S type: bug Something isn't working ver: 1 Jmix version 1.x

Comments

@Flaurite
Copy link
Contributor

Environment

Jmix version: 1.x

Bug Description

When an user has restrictions to entity and UiFilterRole, the user cannot open DateIntervalDialog.

Steps To Reproduce

  1. Create entity and add LocalDate property
  2. Create an user, assign UI minimal, Filter role, and create new one to access entity and views
  3. Open entity list view
  4. Add condition for date property
  5. Select "in interval"
  6. Try to open dialog

Current Behavior

Access Denied

@Flaurite Flaurite added type: bug Something isn't working in: ui ver: 1 Jmix version 1.x triage Issue is waiting for triage labels Apr 10, 2024
@gorbunkov gorbunkov added size: S and removed triage Issue is waiting for triage labels Apr 12, 2024
@KremnevDmitry KremnevDmitry self-assigned this Apr 15, 2024
@KremnevDmitry
Copy link
Contributor

Fixed for 2.x with a673fab

@SergeiAksenov2
Copy link

Tested on:

  1. Jmix version: 1.6.999-SNAPSHOT
    Jmix Studio plugin version: 2.2.SNAPSHOT6324-241
    IntelliJ version: IntelliJ IDEA 2024.1 (Community Edition)
  2. Jmix version: 1.6.999-SNAPSHOT
    Jmix Studio plugin version: 2.2.SNAPSHOT6323-233
    IntelliJ version: IntelliJ IDEA 2023.3.3 (Community Edition)

The dialog is available and can be edited - Ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: ui size: S type: bug Something isn't working ver: 1 Jmix version 1.x
Projects
Status: Done
Development

No branches or pull requests

4 participants