Allow to restrict access for nested resources
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.6k
- Forks
- 179
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In jugglingdb-http adapter restPath may contain some params to substitute before sending request, such as
```
set('restPath', '/users/{userId}/posts');
```
where {userId} will be substituted from post.userId.
- [ ] change jugglingdb adapter
- [ ] change generator for nested resources
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
The issue mentions the jugglingdb-http adapter and a restPath with parameter substitution. Look at the jugglingdb adapter code to understand how restPath is currently handled. Then examine the generator for nested resources to see how it creates routes. The goal is to modify these components to allow restricting access for nested resources based on parameters like userId.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- api, backend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100