Skip to content

Allow page permissions in UI #296

Merged
mosabua merged 1 commit intotrinodb:mainfrom
Chaho12:feature/jyoo/fix-page-permission
Apr 5, 2024
Merged

Allow page permissions in UI #296
mosabua merged 1 commit intotrinodb:mainfrom
Chaho12:feature/jyoo/fix-page-permission

Conversation

@Chaho12
Copy link
Copy Markdown
Member

@Chaho12 Chaho12 commented Apr 3, 2024

Description

Some bug fix and doc improvements on page permissions, which includes the following

  • landing link changes from / to /dashboard
  • Trino Gateway text in Logo is hyperlink
  • fix typo lonout
  • getMemberOf may return non-lowercased string so lowercase it to use it with processPagePermissions

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
() Release notes are required, with the following suggested text:

* 

@cla-bot cla-bot Bot added the cla-signed label Apr 3, 2024
@Chaho12 Chaho12 requested review from ebyhr, mosabua and ytwp April 3, 2024 08:20
Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a few minor nits.

change commit message to

"Allow page permissions in UI"

and maybe have a few details in the message as bullet items

Comment thread docs/security.md Outdated
Comment thread docs/security.md Outdated
Comment thread docs/security.md Outdated
}
}, [location]);

const lonout = () => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@Chaho12 Chaho12 force-pushed the feature/jyoo/fix-page-permission branch from aa73094 to 35ea5e3 Compare April 5, 2024 04:49
- change langing page to /dashboard
- Add hyperlink to Trino Gateway in UI
@Chaho12 Chaho12 force-pushed the feature/jyoo/fix-page-permission branch from 35ea5e3 to b60ae6c Compare April 5, 2024 04:59
@Chaho12
Copy link
Copy Markdown
Member Author

Chaho12 commented Apr 5, 2024

rebased and updated :)

@ebyhr ebyhr removed their request for review April 5, 2024 05:00
@mosabua mosabua changed the title fix route permissions Allow page permissions in UI Apr 5, 2024
@mosabua mosabua merged commit 1e9c1f8 into trinodb:main Apr 5, 2024
@github-actions github-actions Bot added this to the 8 milestone Apr 5, 2024
@Chaho12 Chaho12 deleted the feature/jyoo/fix-page-permission branch May 22, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants