CropWatch Knowledge Base
EN English

Sharing access and permission levels

CropWatch decides what a person can see in two steps: first the location, then each sensor in it. This guide explains why someone has to be added to a location before they can see any of its sensors, what each of the six levels allows, and how to add, change and remove people.

On this page

Locations come first

A location is a place: a greenhouse, a field, a cold store. Every sensor belongs to exactly one location, set in the sensor's settings.

Access follows the same shape. You add a person to a location, and that is what lets them see the sensors inside it. There is no way to share one sensor on its own: a sensor's settings page can change the level of people who are already in its location, but it has nowhere to add anyone new.

If someone needs to see a sensor, start at its location. Adding them there is the only way to share it.

A level for the location, and one for each sensor

Adding someone to a location gives them two kinds of level:

  • Their location level: what they can do with the location itself, such as opening its settings, renaming it, adding sensors to it and adding other people.
  • A sensor level for each sensor in it: what they can do with that one sensor, such as reading its data, writing notes and changing its settings.

The two do not have to match. Someone can be a Manager of the location and a Viewer on one sensor in it. CropWatch checks the level on the thing being changed: renaming a sensor checks the sensor level, and adding a person checks the location level.

The six levels

From most access to least. Owner is not one of the choices in the Permission Level list; the other five are.

  • Owner: the owner of a location is the account that created it. The owner of a sensor is the account that added it, or the location's owner if the sensor was moved there later. Owners can do everything, including the two things nobody else can: delete the sensor, or delete the location. Nobody can change or remove an owner's access. In the location's list of people, the owner is shown as Admin.
  • Admin: everything a Manager can do, plus opening the location's settings to rename it, set its map position and add, change or remove people, and changing a person's level on a single sensor with the Device Owner Permissions card on the sensor's settings page. Admins can make other people Admins.
  • Manager: can change a sensor's settings (name, group, moving it), switch relays, create, edit and delete alert rules and reports, and add new sensors to the location. Managers cannot open the location's own settings, so they cannot rename the location, change its map position, or add and remove people. They also cannot use the Device Owner Permissions card.
  • User: sees everything a Viewer sees, and can add notes to the readings of air temperature and humidity sensors. Cannot change any settings. Changing or removing a note is done in a report's notes, which needs Manager.
  • Viewer: read-only. Sees the location, its sensors, their readings, charts and relay states, and the alert rules and reports that cover them, and can download reports. Cannot change anything.
  • Disabled: no access. A sensor that is Disabled for someone disappears from their dashboard and from the location's list of sensors. Use it to hide one sensor from a person who should keep the rest of the location.

Who can do what, at a glance

A tick means the level allows it. Tasks on the location go by a person's location level; tasks on a sensor go by their level on that sensor.

What each permission level can do
TaskOwnerAdminManagerUserViewerDisabled
See the location, its sensors and their readings Yes Yes Yes Yes Yes No
See alert rules and reports, and download reports Yes Yes Yes Yes Yes No
Add notes to air temperature and humidity readings Yes Yes Yes Yes No No
Change sensor settings, and move sensors Yes Yes Yes No No No
Change the location's name, group and map position Yes Yes No No No No
Switch relays Yes Yes Yes No No No
Create, edit and delete alert rules and reports Yes Yes Yes No No No
Add sensors to the location Yes Yes Yes No No No
Add and remove people at the location Yes Yes No No No No
Change a person's level on a single sensor Yes Yes No No No No
Make someone an Admin Yes Yes No No No No
Delete a sensor or the location Yes No No No No No

Giving someone access

You need to be the location's owner or an Admin. The other person needs a CropWatch account already, because they are found by the email address they signed up with.

  1. Open the location from Locations.
  2. Press Location settings at the top of the location's page. If the button is missing, your level on this location is User or Viewer.
  3. Find the card titled “Add new user to (location name) with permissions”, type their email and choose a Permission Level.
  4. Leave “Apply to all devices in this location” switched on unless you want to choose sensors one by one, then press Add Permission. A green “Location permission created.” confirms it.

That switch decides what they get on the sensors:

  • On (the default): every sensor in the location gets the level you chose. They see everything straight away.
  • Off: they join the location but are Disabled on every sensor in it. They see the location and none of its sensors until an Admin turns sensors on one at a time.

Managers see the Location settings button too, but pressing it shows “You do not have permission to access this location settings page.” Only the owner and Admins can open a location's settings. Nobody can change their own level, and nobody can change the owner's.

Changing someone's level

There are two places to change a level, and they do different things.

  • The table of people in the location's settings, below the card for adding someone. Press Edit on the person's row, pick a level and press Save Changes. This changes their location level only. Their level on each sensor stays as it was.
  • The Device Owner Permissions card on a sensor's settings page. This changes their level on that one sensor. Only the owner and Admins can save it.

This catches people out. Raising a Viewer to Manager in the location's table lets them manage the location, but they are still a Viewer on every sensor they already had. To change their level on all the sensors at once, remove them from the location and add them again with “Apply to all devices in this location” switched on.

Moving a sensor to another location also resets who can see it: everyone at the old location loses it, the person who moved it becomes its Admin, and everyone at the new location starts as Disabled on it. Sensor settings explains this in more detail.

Taking access away

To remove someone from a location, open the location's settings, press Edit on their row, then Delete, and confirm in the Remove Permission box. This removes them from every sensor in the location at the same time. You can remove people at your own level or below, but never the owner.

To hide a single sensor from someone who should keep the rest, set them to Disabled on that sensor's Device Owner Permissions card.

Setting someone to Disabled in the location's table is not the same as removing them. It only changes their location level, so the sensors they already had stay on their dashboard. To take everything away, delete their row.

When someone cannot see something

  • They cannot see the location at all. They have not been added to it, or they were removed. Add them as described in Giving someone access.
  • They can see the location but none of its sensors. They were added with “Apply to all devices in this location” switched off. An Admin can turn sensors on one at a time on each sensor's settings page, or you can remove them and add them again with the switch on.
  • They can see most sensors but not one. That sensor is Disabled for them. This is what happens to a sensor moved in from another location. An Admin can change it on that sensor's Device Owner Permissions card.
  • They are not listed on the sensor's Device Owner Permissions card. The card only lists people who already have a level on that sensor. Remove them from the location and add them again with the switch on. That sets every sensor in the location to the level you choose, so check afterwards for any that should stay Disabled.
  • “User with the provided email not found” They do not have a CropWatch account yet, or they signed up with a different address. Ask them to create an account first.
  • “You cannot grant an access level higher than your own” Pick a lower level, or ask the owner or an Admin to add them.
  • There is no Location settings button. Your level on that location is User or Viewer. Ask the location's owner or an Admin.
  • “You do not have permission to access this location settings page.” Only the owner and Admins can open a location's settings, and this is what a Manager sees. Ask the owner or an Admin to add the person, or to make you an Admin.