Unable to access second level nested APIs of belongsTo OtherModel relation from code: to disable/ACL
6 views
Skip to first unread message
Ganesh B
unread,
Apr 22, 2018, 12:37:47 AM4/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LoopbackJS
Hi,
A quick question: I have nest APIs for belongsTo as true. How do I reference nested APIs for disabling method or adding ACLs? First level access using prototype.__create__orgGroups for GET /Orgs/{id}/orgGroup works fine. But the Second level nested API access for belongsTo relation using prototype.__create__orgGroups_Orgs or prototype.__create__orgGroups__get__Orgs for GET /Orgs/{id}/orgGroup/Orgs does not work.