1602 / 1602/compound

Allow to restrict access for nested resources

Aperta
#366 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1.6k
Fork
179
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
api, backend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.