I explained with the users are for above...
But now I see (sorry) you are talking about roles.... sorry
You are looking at:
Yup that is confusing BUT if you simply run this in Kibana - Dev Tools
Login as the elastic
user you will see this
GET _security/role/superuser
GET /_security/_authenticate
GET /_security/user/_privileges
You will get this.. and this shows that
# GET _security/role/superuser 200 OK
{
"superuser": {
"cluster": [
"all"
],
"indices": [
{
"names": [
"*"
],
"privileges": [
"all"
],
"allow_restricted_indices": false
},
{
"names": [
"*"
],
"privileges": [
"monitor",
"read",
"view_index_metadata",
"read_cross_cluster"
],
"allow_restricted_indices": true
}
],
"applications": [ << All Kibana Here
{
"application": "*", << All Kibana Here
"privileges": [
"*" << All Kibana Here
],
"resources": [
"*" << All Kibana Here
]
}
],
"run_as": [
"*"
],
"metadata": {
"_reserved": true
},
"transient_metadata": {},
"remote_indices": [
{
"names": [
"*"
],
"privileges": [
"all"
],
"allow_restricted_indices": false,
"clusters": [
"*"
]
},
{
"names": [
"*"
],
"privileges": [
"monitor",
"read",
"view_index_metadata",
"read_cross_cluster"
],
"allow_restricted_indices": true,
"clusters": [
"*"
]
}
]
}
}
# GET /_security/_authenticate 200 OK
{
"username": "elastic",
"roles": [
"superuser"
],
"full_name": null,
"email": null,
"metadata": {},
"enabled": true,
"authentication_realm": {
"name": "found",
"type": "file",
"domain": "cloud-file"
},
"lookup_realm": {
"name": "found",
"type": "file",
"domain": "cloud-file"
},
"authentication_type": "realm"
}
# GET /_security/user/_privileges 200 OK
{
"cluster": [
"all"
],
"global": [],
"indices": [
{
"names": [
"*"
],
"privileges": [
"all"
],
"allow_restricted_indices": false
},
{
"names": [
"*"
],
"privileges": [
"monitor",
"read",
"read_cross_cluster",
"view_index_metadata"
],
"allow_restricted_indices": true
}
],
"applications": [
{
"application": "*",
"privileges": [
"*"
],
"resources": [
"*"
]
}
],
"run_as": [
"*"
],
"remote_indices": [
{
"names": [
"*"
],
"privileges": [
"all"
],
"allow_restricted_indices": false,
"clusters": [
"*"
]
},
{
"names": [
"*"
],
"privileges": [
"monitor",
"read",
"read_cross_cluster",
"view_index_metadata"
],
"allow_restricted_indices": true,
"clusters": [
"*"
]
}
]
}
So yeah why the UI says that... huh... not sure if I get a chance to find out I will let you know...
That said I would just move forward...
You can test
Create a users mytest
assign it role superuser
you will see you have all access to kibana.
I asked internally lets see if I get answer... you got me curious