0
每个模型都有json中的acls
部分,可以删除该部分以禁用具体实体的acl
。 acl
可以在一个地方禁用所有实体(在model-config中,可能是)?如何在环回中为所有实体禁用acl?
P.S.我试图从model-config.js
删除ACL
,但得到
Unhandled error for request GET /api/path: Error: Cannot call ACL.find(). The find method has not been setup. The PersistedModel has not been correctly attached to a DataSource!