loopback/lib/models/acl.js

17 lines
304 B
JavaScript

// Schema ACL options
// Object level permissions
// open: no protection
// none: always rejected
// owner: only the owner
// loggedIn: any logged in user
// roles: logged in users with the roles
// related: owner of the related objects
// Class level permissions
// scopes
// URL level permissions