explorer
explorer copied to clipboard
Access control - restricted set of features
The UI should show only restricted set of features for keys other than Master.
Introduce a new configuration property:
{
access_key: 'abcdef123'
}
when present - load the access key definition from an API https://keen.io/docs/api/#get-an-access-key
- it requires a change in the API - access without Master key, nor Read key
OR provide copy of that definition directly into the Config object
{
"key": "SDKFJSDKFJSDKFJSDKFJDSK",
"name": "My Access Key",
"is_active": true,
"permitted": ["queries", "cached_queries"],
"options": {
"queries": {
"filters": [
{
"property_name": "customer.id",
"operator": "eq",
"property_value": "asdf12345z"
}
]
},
"cached_queries": {
"allowed": ["my_cached_query"]
}
}
}
I was trying to add Explorer to my product's dashboard for customer-facing analytics. Not being able to use a generated access key makes that (as far as I could find) not possible. So I really would love this feature.