19 lines
276 B
JavaScript
Raw Normal View History

'use strict';
/**
* `test-policy` policy.
*/
module.exports = (policyCtx, config, { strapi }) => {
// Add your own logic here.
strapi.log.info('In test-policy policy.');
const canDoSomething = true;
if (canDoSomething) {
return true;
}
return false;
2021-08-24 17:56:49 +02:00
};