How to implement a precise ACL?

8 views
Skip to first unread message

Alberto Barbaro

unread,
May 6, 2018, 2:58:35 AM5/6/18
to StrongLoop

Hi all,

I have created a loopback application and now I'm dealing with the ACLs. In my application I have created the model jobs and different users can have access to different jobs. How can I define which job (based on the id) a user can access to? My initial idea was to use a .js file in the boot directory but it seems that from there I'm overriding all the ACL and I do not want to reimplement all there but just relying on the ACLs created with slc.

In the end, is there a way for me to implement just a few more precise checks in a boot script and for the rest keep the default ACLs defined via slc?

Any idea on how to solve it?

Thanks a lot

Reply all
Reply to author
Forward
0 new messages