sergey-telpuk/nestjs-rbac

Resource based permission

Closed this issue · 3 comments

Hi,
The library is amazing and easy to integrate. I just wanted to ask if it supports resource-based permissions as well.

For example
We have two stores in our database. Each store has its own manager. Only the manager assigned to the store can view and update the store.

@mshafiq235 hi, I guess for this aim there is need to implement adapter layer

zanio commented

@mshafiq235 hi, I guess for this aim there is need to implement adapter layer

Please @sergey-telpuk how can this be done

@mshafiq235 Hi, rbac doesn't work with db directly. You can use the service for managing access to data.