Resource & Data permissions
define
Argument.auth = Argument.prototype.auth = {
listableBy: 'all',
viewableBy: 'all',
createableBy: 'member',
updatableBy: ['editor','owner'],
deletableBy: ['editor','owner'],
}title: {
type: DataTypes.STRING,
auth: {
viewableBy : 'all',
},
}actions
roles
users
mixins
can
authorizeData
toAuthorizedJSON
middleware
Overwrites
Last updated
Was this helpful?