Thanks, my approach is a bit different:
strapi.db.query('plugin::users-permissions.role').create({
data: {
name: 'Admin',
type: 'admin',
description: 'Has access to almost everything',
}
})
Thanks, my approach is a bit different:
strapi.db.query('plugin::users-permissions.role').create({
data: {
name: 'Admin',
type: 'admin',
description: 'Has access to almost everything',
}
})