File Group Provider#
Enable user-group mapping using the file-based group provider.
Usage#
Provision the module:
minitrino provision -m file-group-provider
Connect to the coordinator container’s Trino CLI as the admin user:
minitrino exec -i 'trino-cli --user admin'
Display the groups for the current user via current_groups():
SELECT current_groups();
-- [clusteradmins]
View the groups for the test user:
minitrino exec -i 'trino-cli --user test'
SELECT current_groups();
-- [clusteradmins, metadata-users, platform-users]
Group Mapping#
Group |
Users |
|---|---|
|
|
|
|
|
|