What is the best way to create an external ldap role using the REST API?
I thought that posting something like
{
"description": "ACL_GRAFANA_editor",
"id": "ACL_GRAFANA_editor",
"source": "ldap",
"name": "ldap-ACL_GRAFANA_editor"
}
to /service/rest/v1/security/roles would do the trick, but I get the response
id : ACL_GRAFANA_editor
source : default
name : ldap-ACL_GRAFANA_editor
description : ACL_GRAFANA_editor
privileges : {}
roles : {}
i.e., source is set to default, not ldap