Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Data permission object refines access to data for specific users on the level of database rows.

...

Let's say have a table representing two types of stores in our project. We want to restrict the user's access to the "partnerMy store" shops, based on the value of the partner column.

Image RemovedImage Added

Syntax

This data permission allows the user to view only the Partner shops in the Retail Solution Demo project.

...

KeyTypeOptionalityDescriptionConstraints
accountIdstring

Status
colourRed
titlerequired

ID of the account to which the permissions will be applied

(warning) currently, the only way to learn your accountId is through our REST API

(a-zA-Z0-9)
filtersarray
Status
colourRed
titlerequired

array of filterBy objects which will be applied to dataset properties

see metric.content.options.filterBy


...