opensearch-project / opensearch-project/security
[FEATURE] Add new REST admin API edpoint
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 252
- Forks
- 395
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 76
Description
Is your feature request related to a problem?
Add a new REST admin endpoint to update the configuration of multiple configuration types.
Such endpoint will be helpful to update internal users, roles, roles mapping in one request
What solution would you like?
Endpoint:
PATCH _plugins/_security/api/configuration/update
Payload:
{
"actiongroups": [
{
"op": "add", "path": "/CREATE_INDEX",
"value": { "allowed_actions": ["indices:admin/create", "indices:admin/mapping/put"] }
}],
"nodes_dn": [...],
"internalusers": [...]
}
in other words the endpoint will combine exiting patch endpoints and update the index via bulk.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing patch endpoints, which the issue says this endpoint should combine, and trace the PATCH _plugins/_security/api/configuration/update entry point. Define completion as one request updating actiongroups, nodes_dn, and internalusers through the proposed bulk index update. No files or tests are named, so the implementation locations and validation approach must first be established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100