loopbackjs - How to set up ACLs to allow users to access only specific records? -



loopbackjs - How to set up ACLs to allow users to access only specific records? -

i'm planning utilize loopback create application users able access specific records.

let's have projects model, 2 records:

{ "projects": [ { "project_name": "foo", "project_start_date": "2012-10-29t18:25:43.511z" }, { "project_name": "bar", "project_start_date": "2012-10-30t18:25:43.511z" } ] }

and have 2 users, joe , katie.

i want joe able access project foo, , katie able access project bar.

is possible @ all? if so, how should go setting acls?

at moment, declarative acl doesn't back upwards utilize case. need create afterremote hook farther check response. see http://docs.strongloop.com/display/lb/remote+hooks.

acl loopbackjs

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -