Wrote a Blog Post
https://secretsql.wordpress.com/2021/12/08/scriptdom-permissions/