How can I bootstrap Public role to have create permissions?

I just spun up a fresh project and used yarn strapi generate:api test test:string (didn’t autostart).

And set that bootstrap code example in the ./config/functions/bootstrap.js and it properly set the permissions:

1 Like