Skip to content

Feature Request: Support grants in model_defaults configuration #5602

@petrikoro

Description

@petrikoro

Description

Currently, SQLMesh supports defining grants on a per-model basis (introduced recently), but it is not possible to define default grants globally in config under model_defaults.

Many organizations have standard permission sets (e.g., GRANT SELECT TO data_analysts) that apply to 90%+ of their models. Having to repeat the same grants block in every model file is redundant and prone to drift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions