Skip to content

[Bug] Dashboard read permissions assigned: user can't view dashboard #5851

@greg-mcnamara

Description

@greg-mcnamara

Describe the bug
A customer user has been assigned a custom role with Read, Read Attributes and Read Telemetry on Dashboard and Dashboard Group entities. A dashboard group with 1 dashboard has been shared with the customer (all users). The user can see the dashboard group, and see the dashboard listed, but there is no option to view the dashboard (view icon is not visible). I'm assuming this is a bug, unless there is another permission required to view a dashboard?

Your Server Environment

  • own setup
    • docker cluster deployment ("basic" microservices configuration)
    • ThingsBoard Version 3.3.2PE
    • OS Name and Version Ubuntu 20.04

Your Client Environment

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise
  • Browser: Edge
  • Version: 97.0.1072.55

Your Device

  • Connectivity
    • Gateway
  • Device vendor and model: Raspberry Pi4b

To Reproduce
Steps to reproduce the behavior:

  1. Login as a customer user with custom "Customer Dashboard User" role assigned
  2. Click on Dashboard Groups and select shared group
  3. Can see relevant dashboard listed but no option available to view the dashboard (only export)

Expected behavior
The user should be able to view the dashboard as they have Read permissions for Dashboard entities, and the dashboard group has been shared with the customer the user belongs to.

Screenshots
image
image
image
image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions