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

Public and integrated dashboard uses session filters without being able to change it #16967

Open
2 tasks done
keguira opened this issue Apr 22, 2024 · 0 comments
Open
2 tasks done

Comments

@keguira
Copy link

keguira commented Apr 22, 2024

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.14

Bug description

We want to use the direct link to dashboard in our plants for each team to be able to display per technician group some statistics and testing the behaviors of direct / integrated dashboards.

I've identified a functionnal issue

Features / bugs identified :

  • Embed dashboard by-pass all security to display a dash but do not integrate or show filters : as the filters are parts of how a dash is working, this is a missing feature (so not the purpose of this ticket)
  • Embed dashboard by-pass all security to display a dash independently of a logged context but uses the actual session attributes to apply current filters which make it inconsistent depending on user cases

With these two points, in embed mode, the view of dashboard in direct link is non-functional.

Expected behavior

  • Embed mode dashboard should use its own filter context as the security is totaly by-passed in this mode. In the futur, it may expose things we don't want to
  • nice to have : being able to use / apply filters in this mode as it's part of the dashboard feature

Relevant log output

No response

Page URL

No response

Steps To reproduce

  1. create a dashboard with filters
  2. [UC-A] open a window with the public link
  3. [UC-B] open a window with the public link in private mode (to have a clean session)
  4. apply a filter in GLPI on the dashboard
  5. refresh UC-A : filter is applied and not manageable
  6. refresh UC-B : filter is not applied (and not manageable)

Your GLPI setup information

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant