e01b61dcf4
no issue - currently if you would like to edit a resource (e.g. post) and you pass an invalid model id, the following happens - permission check calls `Post.permissible` - the Post could not find the post, but ignored it and returned `userPermissions:true` - then the model layer is queried again and figured out that the post does not exist - A: there is no need to query the model twice - B: we needed proper error handling for post and role model |
||
---|---|---|
.. | ||
base | ||
plugins | ||
accesstoken.js | ||
app-field.js | ||
app-setting.js | ||
app.js | ||
client-trusted-domain.js | ||
client.js | ||
index.js | ||
invite.js | ||
permission.js | ||
post.js | ||
refreshtoken.js | ||
role.js | ||
settings.js | ||
subscriber.js | ||
tag.js | ||
user.js | ||
webhook.js |