Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$owner not working on static method #450

Closed
coodoo opened this issue Aug 8, 2014 · 5 comments
Closed

$owner not working on static method #450

coodoo opened this issue Aug 8, 2014 · 5 comments
Labels

Comments

@coodoo
Copy link

coodoo commented Aug 8, 2014

I have a custom model named Document, when it's ACL is set to $owner, it will prevent find(), create(), upsert() from working, only instance methods like deleteById(), updateAttributes() will work.will

The use case I'm working on is trying to prevent user A from modifying user B's document, which means I need instance level ACL, is this possible?

@frankcarey
Copy link

Try using the debug flag on the command line..
DEBUG=loopback:security:* node server.js

@pungoyal
Copy link

pungoyal commented Feb 5, 2015

ping!

@superkhau
Copy link
Contributor

Please create a test project on Github to reproduce the issue as per https://github.com/strongloop/loopback/wiki/Issues#bug-report

@loay
Copy link
Contributor

loay commented Jan 4, 2016

@coodoo
Are you still experiencing the same issue?

@superkhau
Copy link
Contributor

Closing due to inactivity. Please create a new issue if you are still running into problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants