How can I create administration panel roles programmatically

I understand, great work btw, very easy to use and the feature is definitely useful !!