trino-gateway icon indicating copy to clipboard operation
trino-gateway copied to clipboard

Capitalize page permission key conf

Open Chaho12 opened this issue 9 months ago • 2 comments

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:

스크린샷 2024-05-23 오전 10 32 40 스크린샷 2024-05-23 오전 10 32 51

Chaho12 avatar May 22 '24 04:05 Chaho12