How to set public permissions without using Strapi Admin

Hi there, I had a similar problem and have developed a plugin to help solve it:

It updates the database during bootstrap to automatically set your chosen permissions to public.