stephanediondev / elasticsearch-admin

Web administration for Elasticsearch (2.x to 8.x): cluster, nodes, indices, shards, index templates, repositories, snapshots ...
https://stephanediondev.github.io/elasticsearch-admin/
MIT License
90 stars 10 forks source link

Roles - cannot add permissions #79

Open mackfish-1 opened 2 weeks ago

mackfish-1 commented 2 weeks ago

Tried to add permissions to "Application->Roles->[role]->update"

When adding a permission to the role it flashes up "Added: PERMISSION" but it is not saved.

I cannot see it in the ".elasticsearch-admin-roles" index either.

the record just says

{ "name": "ROLE_INDEXRW", "created_at": "2024-06-19 08:22:40" }

mackfish-1 commented 2 weeks ago

I note that the index ".elasticsearch-admin-permissions" wasn't created. and even when created, it wasn't written into.

by manually adding the index and the record, I was able to add the permission

stephanediondev commented 1 week ago

Hi

It's fixed

Requests POST are now allowed (instead of GET) to save permissions