getjerry / nest-casl

Casl integration for NestJS
MIT License
226 stars 30 forks source link

Question: does it work for json defined rules? #62

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello,

I am wondering if it supports json defined rules as I want to dynamically set the permissions via dashboard.

https://casl.js.org/v5/en/guide/define-rules#json-objects

liquidautumn commented 3 years ago

Hi, there is no support for dynamic rules, at least for now.