How to create role (user-permission) from bootstrap function

When I want to deploy strapi app I want to create ReadOnly role and assign custom permission to it.
Someone have a working example?

          ????? some data with permissions ???
System Information
  • Strapi Version: 4.12.0
  • Operating System: docker on mac
  • Database: postgress
  • Node Version:
  • NPM Version:
  • Yarn Version:

It is impossible to find documentation on this!
I have figured this line but no matter what i pass I get undefined back:


Thanks, my approach is a bit different:

				data: {
					name: 'Admin',
					type: 'admin',
					description: 'Has access to almost everything',