Custom SQL in Programmatic config #204
Replies: 1 comment
-
|
Currently there is no easy way to run additional SQL with programmatic config specifically, since config is being built and validated before we open the connection. A lot of "hooks" are possible by overloading Naturally, cloning repo and changing code directly is always an option. Not friendly for updates, but possible for complex use cases. About revoking In theory, this revoke does not achieve anything meaningful. The main purpose of env prefixed role is to prevent saturation of main admin role. When you have 50+ environments all attached to a single admin role, Prefixed role should not be used by any user other than Another problem is ... if you revoke |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a preferred approach to executing additional SQL within the programmatic config? I was wondering if there was a way to leverage the connection, potentially the engine, to execute some non-blueprint driven statements.
My initial use case is to revoke SNOWDDL_ADMIN role from ENV_ADMIN role so that it no longer inherits SYSADMIN / SECURITYADMIN privileges, but maintains full access on the DB's it owns.
Beta Was this translation helpful? Give feedback.
All reactions