Closed Radu3000 closed 9 years ago
You have to manually empty out the acl
property (make it an empty array) in /common/model/your-model.json
.
For future reference, please post questions to https://groups.google.com/forum/#!forum/loopbackjs. See https://github.com/strongloop/loopback/wiki/Reporting-issues#question for more details.
While going through the tutorial I have incorrectly specified a name for the relation - should be "members" instead of "users".
C:\Projects\StrongLoop\loopback-example-access-control>slc loopback:relation ? Select the model to create the relationship from: team ? Relation type: has many ? Choose a model to create a relationship with: user ? Enter the property name for the relation: users ? Optionally enter a custom foreign key: