question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assignments to multiple customers or public (devices, dashboards) doesn't work

See original GitHub issue

Expected Behaviour

We can assign a dashboard to multiple customers, including the Public customer. We can assign a device to multiple customers, including the Public customer.

Current Behaviour

TB lets us assign a Dashboard to multiple customers (new in 1.4!!) However, we can’t assign a device to multiple customers. This is required to get the dashboards assigned to multiple customers working, ie showing data!

TB lets us declare a Dashboard as public. But we can’t display data from private devices (assigned to specific customer). We have to make all the devices public for this to function properly.

Possible Solution

Just like dashboards, devices can be assigned to multiple customers, including Public.

Steps to Reproduce (for bugs)

  1. Assign a dashboard to multiple customers, A, B and C
  2. Assign device D1 to specific customer A
  3. Log in as customer B. Dashboard doesn’t show the data from device D1.

  1. Assign a dashboard to multiple customers, A, B and C
  2. Assign device D1 to Public customer
  3. Log in as customer A, B and C. Dashboard doesn’t show the data from public device D1.

  1. Assign a dashboard to the customer A
  2. Assign device D1 to specific customer A
  3. Data is shown on dashboard
  4. Make dashboard public
  5. Data from device D1 is not shown on the public dashboard.

Context

Not able to assign a device to multiple customers, including Public makes the whole multiple customers per dashboard assignment useless…

Example: Getting weather data or other data in, and assign this to multiple customer dashboards. This simply doesn’t work right now, as the public device data is not shown on the customer dashboards.

Your (Docker) Environment

  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 16.04 LTS

  • ThingsBoard 1.4 (e.g. CE 1.4 or PE 1.4):

  • Database used Postgres (e.g. HSQLDB, Cassandra, Postgres):

  • Docker version 17.12 (e.g. Docker 17.12 ):

  • Are you using Docker Swarm or Kubernetes? Docker Swarm

  • Link to your project or a code example to reproduce issue:

Diagnostic information

N/A

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
vparomskiycommented, Feb 4, 2019

There is a new feature that will be released in the Thingsboard 2.3 - Role-Based Access Control. You can implement the requested case (assign multiple devices to multiple customers with different permission levels) https://thingsboard.io/docs/user-guide/rbac/

0reactions
PaoloCortesicommented, Nov 30, 2022

no

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l’effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.


The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender Da: redasdasd @.> Inviato: mercoledì 30 novembre 2022 13:26 A: thingsboard/thingsboard @.> Cc: Cortesi Paolo @.>; Comment @.> Oggetto: Re: [thingsboard/thingsboard] Assignments to multiple customers or public (devices, dashboards) doesn’t work (#669)

Are there any updates for this issue?

Dashboard X is shared by all customers 1 and 2. Device A, B and C When customer 1 views Dashboard X, devices A, B are visible. When customer 2 views Dashboard X, devices B, C are visible. how to do it?

— Reply to this email directly, view it on GitHubhttps://github.com/thingsboard/thingsboard/issues/669#issuecomment-1332069243, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKK7MJYLDQBQHCVGTGH6HQDWK5BVHANCNFSM4EWNISLA. You are receiving this because you commented.Message ID: @.***>

CAUTION: External email. Do not click links, open attachments or reply unless you recognize the sender and know the content is safe.

ATTENZIONE: Questa e-mail proviene da un dominio esterno al perimetro Leonardo. Non cliccare su collegamenti, aprire allegati o rispondere a meno che non si riconosca il mittente e si sappia che il contenuto è sicuro.

Company Internal

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with IoT dashboards | ThingsBoard Community Edition
Dashboards display data from many entities: devices, assets, etc. Dashboards can be assigned to Customers. This guide covers main concepts and various ...
Read more >
Sharing Your Dashboard Projects - Qualtrics
Dashboards can be shared with anyone who is in your organization and already has a Survey Platform account with permissions to use CX...
Read more >
Ways to collaborate and share in Power BI - Microsoft Learn
In Power BI you can collaborate on and share dashboards, reports, tiles, and apps in different ways. Each way has its advantages.
Read more >
Access control and permission management | Looker
Although content access is managed separately from feature access, the role assigned to a user can affect whether they can see Looks and...
Read more >
Manage dashboards and gadgets - Atlassian Support
Choose Dashboards > View all dashboards. · Locate your dashboard and click more (•••) > Copy dashboard. · Name your dashboard and add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found