anodynos / accesscontrol-re

A facade enhancing the great javascript lib AccessControl, but with much desired missing features!

Home Page:https://onury.io/accesscontrol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

* or regexp support in resource

binarytracer opened this issue · comments

author @anodynos thank you for this work.

I would like to ask if you have plan to support resource as the following patterns:

  • clients/:id/endpoint-here, as dynamic route in express.
  • clients/:id

or may using regexp on the resource?

Hey @binarytracer this library is only a facade to fix issues, no deviating / important features will be added ever :-)

But if you can be patient a few days / weeks, the company I work for (SuperAwesome) we're open sourcing a permissions library for all your needs :-) Underneath it's using accesscontrol & accesscontrol-re but it's a lot more high level and has first class support for resource ownerships ;-)

It also has native NestJS support (Guards & method decorators) so you're covered :-)

The 1.0 work is done, we're just waiting for clearence. Watch this space permissions.docs.superawesome.com ;-)

thanks man, @anodynos .

@binarytracer we have released https://github.com/SuperAwesomeLTD/permissions & https://github.com/SuperAwesomeLTD/permissions-nestjs ;-)

Note the docs aren't served online yet, you'll need to $ npm run docs:serve

Any comments & contributions more than welcome!

thanks man, @anodynos.
Im going to check that out.