# Can we use grant config option on tables created when store\_failures option is set to true

**URL:** <https://discourse.getdbt.com/t/can-we-use-grant-config-option-on-tables-created-when-store-failures-option-is-set-to-true/7699>\
**Category:** Help\
**Tags:** testing, snowflake\
**Created:** [April 6, 2023, 9:30am UTC](https://discourse.getdbt.com/t/can-we-use-grant-config-option-on-tables-created-when-store-failures-option-is-set-to-true/7699 "2023-04-06T09:30:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juoll](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/juoll/32/1566_2.png) [@juoll](https://discourse.getdbt.com/u/juoll)\
**Post date:** [April 6, 2023, 9:30am UTC](https://discourse.getdbt.com/t/can-we-use-grant-config-option-on-tables-created-when-store-failures-option-is-set-to-true/7699/1 "2023-04-06T09:30:14Z")

</div>

## The problem I’m having

I am trying to grant a privilege for tables generated by tests when store-failures is set to true :

## The context of why I’m trying to do this

We use dbt on Snowflake.

## What I’ve already tried

## Some example code or error messages

```yaml
tests:
  example:
    +schema: tests
    +grants:
      select: ["TEST_READ"]
    +store_failures: true

```
