How to use group name in native queries


Is there a way to use the user's Metabase group name when building native queries.
For example:

select COLUMN0, COLUMN1, GROUP from MYTABLE where GROUP={{UserGroup}}

In fact I want to give access to some lines of a table depending on the group.


Hi @gdelaune
That functionality is only available via attributes in Sandboxing:

@flamber, thanks for your advice!