Page permissions using code?

Wix page permissions are pretty horrendous in trying to use as an admin. and not seeing how you can set permissions for those users you import or even do so via roles as no way to differentiate the id of those import from regular users, etc. So to do hundreds (I have about 4 thousand to import).

Any code replacement available?

If they would just fix how it is laid out (you have to slide back and forth and up and down and all around to set permissions if you have more than just 5 or 6 permission pages.