Skip to main content
4 events
when toggle format what by license comment
Nov 11, 2018 at 20:08 comment added Quill If every route has role checks it would be simpler to bake it in, but if not then that would work too
Nov 11, 2018 at 17:51 comment added AntiLoxy Thank you for your advice, I will apply it. Another solution might be to create a completely generic allow (... cbs: Function []) middleware in a npm module. Then in a shared directory of the project create a function hasAnyRole (... roles). Perhaps better because the role management can be specific for a project (RBAC, ACL, etc ...) What do you think ?
Nov 11, 2018 at 16:35 vote accept AntiLoxy
Nov 11, 2018 at 7:17 history answered Quill CC BY-SA 4.0