nestjsx / nest-access-control

Role and Attribute based Access Control for Nestjs 🔐

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why use a separated action and possession?

martinsotirov opened this issue · comments

First off, thanks for your work!

I wanted to ask why in onury/accesscontrol the action also includes the possession, e.g. create:any, read:own and so on, while this package has separated action and possession? It seems that it only increases the boilerplate that we have to decorate each endpoint with.

i agree with this as well