feat: permission and security fixes (#5266)

This commit is contained in:
Charles Zhou 2024-06-17 03:06:32 -05:00 • committed by GitHub
commit cc4a4ec796
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 186 additions and 104 deletions

View file

@ -58,7 +58,7 @@ const DataSourceNotion: FC<Props> = ({
type={DataSourceType.notion}
isConfigured={connected}
onConfigure={handleConnectNotion}
readonly={!isCurrentWorkspaceManager}
readOnly={!isCurrentWorkspaceManager}
isSupportList
configuredList={workspaces.map(workspace => ({
id: workspace.id,