19 lines
275 B
JavaScript
Raw Normal View History

'use strict';
/**
2022-08-09 12:03:51 +02:00
* `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
};