npm i -S sails-hook-bucaniere
Access the admin panel at https://localhost:1337/admin
Browse yor models, click on the left menu to access a model and list entries.
Click on them to edit or delete
Render email templates in the browser, supplying variables to the template in JSON format and send test email.
// security/isSuperAdmin
async function checkAccess(req, res) {
if(!req.session.userId)
return false
var user = await User.findOne({id:req.session.userId})
if(user.isSuperAdmin){
return true;
}
return false;
}
module.exports = {
checkAccess
}
Bucaniere is still WIP, but in full development, please submit feature requests and issues, very appreciated!