elasticsearch-admin icon indicating copy to clipboard operation
elasticsearch-admin copied to clipboard

Roles - cannot add permissions

Open mackfish-1 opened this issue 1 year ago • 2 comments

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 avatar Jun 19 '24 09:06 mackfish-1

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

mackfish-1 avatar Jun 19 '24 09:06 mackfish-1

Hi

It's fixed

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

stephanediondev avatar Jun 23 '24 03:06 stephanediondev