Skip to content

Commit

Permalink
Merge pull request #23 from wusanny/grant_select
Browse files Browse the repository at this point in the history
Grant select
  • Loading branch information
wusanny authored Jan 21, 2025
2 parents 872cbd5 + ea9e3c7 commit 44989ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ models:
config:
grants:
+select: ['{%- if target.name == "dev_re" -%} tester
{%- elif target.name == "prod" -%} sys_admin
{%- elif target.name == "prod" -%} sysadmin
{%- endif -%}'
]
- name: foo
description: "Items dimensional model aggregating data from multiple sources for a unified view of item details."
config:
grants:
+select: ['{%- if target.name == "dev_re" -%} tester
{%- elif target.name == "prod" -%} sys_admin
{%- elif target.name == "prod" -%} sysadmin
{%- endif -%}'
]
- name: potato
description: "Items dimensional model aggregating data from multiple sources for a unified view of item details."
config:
grants:
+select: ['{%- if target.name == "dev_re" -%} tester
{%- elif target.name == "prod" -%} sys_admin
{%- elif target.name == "prod" -%} sysadmin
{%- endif -%}'
]

0 comments on commit 44989ed

Please sign in to comment.