Sorry to be a pain here but, I realized we still have a problem. At a minimum, the documentation for organizations needs to be updated to clearly state the following:
An App can have multiple organizations under it.
However, an organization has the following characteristics:
- a device can only be in ONE ORGANIZATION
- a dashboard can only be in ONE ORGANIZATION
- but, a user can be in MULTIPLE organizations.
This creates a problem for a typical hierarchical organization in business. You cannot set up a top-level organization that can see all the devices and dashboards unless you let every subordinate organization’s users see every device and dashboard. This is a problem.
Here is an example. Imagine a state park system with a state level organization and a larger number of park organizations. The group at the State level needs to see all the parks and dashboards while the individual park personnel only need to see their park’s dashboard and devices. From what I can see, there is no way to do this in Ubidots today.
The devices are either in the park-level organization or at the state-level. In one case, there is no single API key for the state-level folks to use to access all the devices in all the parks. In the other, the park personnel see a bunch of sensors in parks they are not interested in.
The simple fix would be to allow a device - like a user today - to be in more than one organization.
There may be a better way of doing this and, if so, please let me know.