franciscogouveia / hapi-rbac

RBAC (Rule Based Access Control) for hapijs
ISC License
105 stars 20 forks source link

hapi-rbac on data collection #38

Open Maheshkumar-Kakade opened 7 years ago

Maheshkumar-Kakade commented 7 years ago

Is there way to write RBAC policy to restrict access (visibility) to data collection? e.g database has collection of books and student should only see books which has particular metadata. In other words if getBooks API should return books depending on particular book metadata,