Graylog2 / Graylog2/graylog2-server
Endpoint which response with entities the user has specific capability to
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## What?
We need an endpoint where the frontend can ask for a paginated (or not paginated) list of entities depending on the
permission of a user.
## Why?
We already have an endpoint which response with such a list, but does not return anything meaningful for the admin user.
For the startpage setting for a not admin user we therefor used the grants endpoint, but for the admin user we needed
to use the dashboard and streams list endpoints.
We now have another such issue: #7331 and it seems unwise to repeat this pattern. It would be much safer to have a single endpoint where the frontend can ask for a list of entities where the user has Edit or Read or even Owner Access to.
Refs #7331
Contributor guide
Assessment
This issue has not been assessed yet.