Closed colinshen closed 9 years ago
Can you provide a link to a test project on GitHub? See https://github.com/strongloop/loopback/wiki/Reporting-issues#bug-report
here is the project:https://github.com/colinshen/loopback-sandbox .. i m not sure I did correct...but I tried.the project could run correctly, but still have the problem
Have you gone through https://github.com/strongloop/loopback-example-access-control?
Yeah, maybe I made a mistake. I will try to rewrite it. thanks
I just ran into the same issue last week and wrote a blog post on how to fix it. http://digitaldrummerj.me/strongloop-extending-user-model-security/
Essentially in code in the [Your Model].js file, I had to clear out the existing ACLand add them back in along with my new ACL. The root of the issue, is that the last thing in the built-in user model ACL is to deny everyone.
@digitaldrummerj great,thanks
I register a custom as Admin,However, in explorer, after set token, the create function still got 401,Authorization Required"