trino-gateway
trino-gateway copied to clipboard
Capitalize page permission key conf
Description
Since both roles in web & security context are in upper-case, page permission should also be in upper case to match with roles.
Without this patch, user has to set upper-case key's in yaml in their yaml file as below, which is awkward as all other auth related confs are in lower-case.
pagePermissions:
ADMIN:
USER: dashboard_history
API:
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. ( ) Release notes are required, with the following suggested text:
*
Test
pagePermissions:
admin:
user: dashboard_history
api: