15 lines
341 B
JavaScript
Raw Normal View History

2017-11-17 11:17:20 +01:00
'use strict';
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
module.exports = cb => {
2017-11-17 16:36:57 +01:00
strapi.plugins['users-permissions'].services.userspermissions.updatePermissions();
2017-11-17 11:17:20 +01:00
cb();
};