Skip to content

Procedures, Tasks and Permissions #101

Answered by littleK0i
josephniblo asked this question in Q&A
Discussion options

You must be logged in to vote

I am currently working on better permission system, which allows setting custom grants for owner / write / read roles. It will be possible to specify and assign "permission models" on per-database and per-schema levels. I expect it to be released in the next few days.

In the meantime you may run procedures as "caller" and temporarily remove this line: https://github.com/littleK0i/SnowDDL/blob/master/snowddl/resolver/schema_role.py#L73

It will cause tasks to be created with "SnowDDL admin role" ownership, which naturally has access to all objects it created, including warehouses.


Alternatively, I highly suggest to avoid tasks and use proper orchestration tool instead, like Dagster. You'll…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@josephniblo
Comment options

@littleK0i
Comment options

Answer selected by josephniblo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants