Dynamic Report based on Permissions
Comments
-
I have a report dashboard and i would like the data in the report to change based on the users role. If the user is an Admin for that application they should see all items, if not they should only see items they submitted. Is this possible?
-
Hi Christopher,
That can be done by creating a Report Data Source Flow.
[img]att2[/img]
Use a String is in List rule to check the current users groups found by clicking Select From Flow > Flow Data > Current User Groups. Add a Fetch Entities step without any criteria for your rules True path and a Fetch Entities step with Created By equals Select From Flow > Flow Data > Current User Email for the False path. Map the fetch steps to the flow end step as an output then save & exit the flow.Once youve created the data source flow, you can create a report around it and attach the report to a dashboard. Ive created an example for you demonstrating this.
[i]edited by james.hartzell@decisions.com on 1/14/2020[/i] -
Perfect...Thank you.
-
Youre welcome!
Howdy, Stranger!
Categories
- 4.1K All Categories
- 60 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions