Requirements
Model roles must be equal to or more permissive than the associated connection’s base access role. For example, if the connection has a base access role ofRESTRICTED_QUERIER, it will override a model with a VIEWER role.
Syntax
Properties
An object containing model ID and role pairs, formatted as
"<model_id>: <model_role>". Values must be one of:RESTRICTED_QUERIER- Can create new content and view workbooks and dashboards based on the specified modelVIEWER- Can only view dashboards based on the specified model
{"model-id-1":"RESTRICTED_QUERIER", "model-id-2":"VIEWER"}Examples
The following example demonstrates what the URL encoded version ofmodelRoles={"65b10d2a-473b-4486-92c8-0ba628c7d1cb":"RESTRICTED_QUERIER"} would be:
Model with Restricted Querier role