api-platform / api-platform/core
Make hydra documentation respect access control
Offen
- Vorherrschende Sprache
- PHP
- Sterne
- 2.6k
- Forks
- 980
- Ø Merge
- 2 T. 5 Std.
- Gemergte PRs (30 T.)
- 48
Beschreibung
My api has public and private entries.
But the hydra and swagger documentations expose all of them.
As a result, a connected user that has access to only parts of the api will see the whole documentation which is not a good thing for security.
More importantly, the admin is broken in that case because it tries to fetch every resource in the hydra documentation.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.