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AC,KAEpD,aAAU,IAAM,CACdlD,EAAA,EAAY,KAAKtF,CAAM,CACzB,EAAG,CAACA,CAAM,CAAC,EAEX,MAAMY,GAAW,EAAA+H,GAAA,YAAAA,EAAY,WAAZ,OAAwB,GACnCC,GAAW,EAAAD,GAAA,YAAAA,EAAY,WAAZ,OAAwB,GACnCE,EAAa7I,KAAW2I,GAAA,YAAAA,EAAY,IAAKA,EAAa,OAE5D,OACE,gBAAC,KAAa,CAAC,MAAO,aAAa/H,CAAQ,IACzC,gBAACkI,GAAA,EAAmB,IAAC,EACrB,gBAAC,MAAW,MAAO,gBAACR,GAAA,CAAU,SAAA1H,CAAA,CAAoB,EACtC,QACE,gBAACmI,GAAA,GAAgB,OAAA/I,EACA,eAAgB4I,CAAA,CAAU,EAE7C,kBAAmB,CACjB,MAAO,4BACP,KAAMI,EAAA,EAAW,MAAM,WACzB,GACV,gBAAC,YAAK,+EAEN,CACF,EACA,gBAAC,GAAQ,CAAC,KAAMH,CAAA,CAAY,CAC9B,CAEJ,EAEA,MAAeI,EAAA,GAAWR,EAAY,C,0ECpDtC,QANiDS,GAAgGC,GAAU,CACzJ,MAAMT,KAAS,aAAU,EAEzB,OAAO,gBAACQ,EAAA,CAAW,GAAGC,EAAgB,OAAAT,CAAA,CAAgB,CACxD,C","sources":["webpack://graylog-web-interface/./src/components/common/EntityFilters/FiltersForQueryParams.ts","webpack://graylog-web-interface/./src/components/common/PaginatedItemOverview/index.tsx","webpack://graylog-web-interface/./src/components/roles/RolesQueryHelper.tsx","webpack://graylog-web-interface/./src/components/streams/hooks/useStreams.ts","webpack://graylog-web-interface/./src/components/users/PermissionsUpdateInfo.tsx","webpack://graylog-web-interface/./src/components/users/navigation/UserActionLinks.tsx","webpack://graylog-web-interface/./src/logic/telemetry/TelemetrySettingsConfig.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/ReadOnlyWarning.tsx","webpack://graylog-web-interface/./src/components/users/StartpageFormGroup.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/SettingsSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/PasswordSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/ProfileUpdateInfo.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/ProfileSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/PreferencesSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/RolesSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/TeamsSection.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/UserEdit.tsx","webpack://graylog-web-interface/./src/components/users/UserEdit/index.ts","webpack://graylog-web-interface/./src/pages/UserEditPage.tsx","webpack://graylog-web-interface/./src/routing/withParams.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { UrlQueryFilters } from 'components/common/EntityFilters/types';\n\n// Transform filters, so they can be used as URL query params, for example for the PaginationURL helper.\nconst FiltersForQueryParams = (filters: UrlQueryFilters) => {\n if (!filters) {\n return undefined;\n }\n\n return filters.entrySeq().flatMap(([attributeId, filterValues]) => (\n filterValues.map((value) => `${attributeId}:${value}`)\n )).toArray();\n};\n\nexport default FiltersForQueryParams;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type {\n PaginatedListType,\n DescriptiveItem,\n ResultsWrapperComponentProps,\n OverrideItemComponentProps,\n} from './PaginatedItemOverview';\nimport PaginatedItemOverview, {\n DEFAULT_PAGINATION,\n} from './PaginatedItemOverview';\n\nexport type {\n PaginatedListType,\n DescriptiveItem,\n ResultsWrapperComponentProps,\n OverrideItemComponentProps,\n};\n\nexport { DEFAULT_PAGINATION };\n\nexport default PaginatedItemOverview;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport QueryHelper from 'components/common/QueryHelper';\n\nconst queryExample = (\n \n Find role with a name containing manager:
\n name:manager
\n
\n);\nconst RolesQueryHelper = () => (\n \n);\n\nexport default RolesQueryHelper;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport UserNotification from 'util/UserNotification';\nimport type { SearchParams, Attribute } from 'stores/PaginationTypes';\nimport type { Stream } from 'stores/streams/StreamsStore';\nimport StreamsStore from 'stores/streams/StreamsStore';\nimport FiltersForQueryParams from 'components/common/EntityFilters/FiltersForQueryParams';\n\nconst INITIAL_DATA = {\n pagination: { total: 0 },\n elements: [],\n attributes: [],\n};\n\ntype Options = {\n enabled: boolean,\n}\n\nconst useStreams = (searchParams: SearchParams, { enabled }: Options = { enabled: true }): {\n data: {\n elements: Array,\n pagination: { total: number }\n attributes: Array\n },\n refetch: () => void,\n isInitialLoading: boolean,\n} => {\n const { data, refetch, isInitialLoading } = useQuery(\n ['streams', 'overview', searchParams],\n () => StreamsStore.searchPaginated(\n searchParams.page,\n searchParams.pageSize,\n searchParams.query,\n {\n sort: searchParams?.sort.attributeId,\n order: searchParams?.sort.direction,\n filters: FiltersForQueryParams(searchParams.filters),\n },\n ),\n {\n onError: (errorThrown) => {\n UserNotification.error(`Loading streams failed with status: ${errorThrown}`,\n 'Could not load streams');\n },\n keepPreviousData: true,\n enabled,\n },\n );\n\n return ({\n data: data ?? INITIAL_DATA,\n refetch,\n isInitialLoading,\n });\n};\n\nexport default useStreams;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport DocsHelper from 'util/DocsHelper';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport { Col, Row, Alert } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nconst PermissionsUpdateInfo = () => (\n \n \n \n With Graylog 4.0, we've updated the permissions system. Granting permissions for an entity like streams and dashboards is no longer part of the user edit page.\n It can now be configured using the Share button of an entity. You can find the button e.g. on the entities overview page. Learn more in the .\n \n \n
\n);\n\nexport default PermissionsUpdateInfo;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { $PropertyType } from 'utility-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport type User from 'logic/users/User';\nimport Routes from 'routing/Routes';\nimport { ButtonToolbar, Button } from 'components/bootstrap';\n\ntype Props = {\n userId: $PropertyType,\n userIsReadOnly: boolean,\n};\n\nconst UserActionLinks = ({ userId, userIsReadOnly }: Props) => (\n \n \n \n \n {!userIsReadOnly && (\n \n \n \n )}\n \n \n \n \n);\n\nexport default UserActionLinks;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useEffect, useState } from 'react';\nimport { Formik, Form } from 'formik';\nimport { usePostHog } from 'posthog-js/react';\n\nimport SectionComponent from 'components/common/Section/SectionComponent';\nimport { FormikFormGroup, Spinner } from 'components/common';\nimport { Button, Row, Col, Input } from 'components/bootstrap';\nimport type { UserTelemetrySettings } from 'stores/telemetry/TelemetrySettingsStore';\nimport {\n TelemetrySettingsActions,\n} from 'stores/telemetry/TelemetrySettingsStore';\nimport AppConfig from 'util/AppConfig';\nimport TelemetryInfoText from 'logic/telemetry/TelemetryInfoText';\n\nconst TelemetrySettingsConfig = () => {\n const [settings, setSettings] = useState(undefined);\n const { enabled: isTelemetryEnabled } = AppConfig.telemetry() || {};\n const posthog = usePostHog();\n\n useEffect(() => {\n TelemetrySettingsActions.get().then((result) => {\n setSettings(result);\n });\n }, []);\n\n useEffect(() => {\n if (\n isTelemetryEnabled\n && settings?.telemetry_enabled\n && posthog?.has_opted_out_capturing()) {\n posthog.opt_in_capturing();\n }\n }, [isTelemetryEnabled, posthog, settings?.telemetry_enabled]);\n\n if (!settings) {\n return ;\n }\n\n const updateTelemetryOpt = (data: UserTelemetrySettings) => {\n if (posthog && isTelemetryEnabled && !data.telemetry_enabled) {\n posthog.capture('$opt_out');\n posthog.opt_out_capturing();\n }\n };\n\n const onSubmit = (data: UserTelemetrySettings, { setSubmitting }) => {\n updateTelemetryOpt(data);\n\n TelemetrySettingsActions.update(data).then(() => {\n setSubmitting(false);\n window.location.reload();\n });\n };\n\n return (\n \n \n onSubmit={onSubmit}\n initialValues={settings}>\n {({ isSubmitting, isValid }) => (\n \n )}\n \n \n );\n};\n\nexport default TelemetrySettingsConfig;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { $PropertyType } from 'utility-types';\n\nimport { Alert, Col, Row } from 'components/bootstrap';\nimport type User from 'logic/users/User';\n\ntype Props = {\n fullName: $PropertyType,\n};\n\nconst ReadOnlyWarning = ({ fullName }: Props) => (\n \n \n \n The selected user {fullName} can't be edited.\n \n \n
\n);\n\nexport default ReadOnlyWarning;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type * as Immutable from 'immutable';\nimport { useState, useEffect } from 'react';\nimport { Field, useFormikContext } from 'formik';\nimport styled from 'styled-components';\n\nimport { getValuesFromGRN } from 'logic/permissions/GRN';\nimport { Button, Alert, Input } from 'components/bootstrap';\nimport type SharedEntity from 'logic/permissions/SharedEntity';\nimport EntityShareDomain from 'domainActions/permissions/EntityShareDomain';\nimport Spinner from 'components/common/Spinner';\nimport Select from 'components/common/Select';\nimport useDashboards from 'views/components/dashboard/hooks/useDashboards';\nimport useStreams from 'components/streams/hooks/useStreams';\nimport useSavedSearches from 'views/hooks/useSavedSearches';\nimport type { SettingsFormValues } from 'components/users/UserEdit/SettingsSection';\n\nconst Container = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst TypeSelect = styled(Select)`\n width: 200px;\n margin-right: 3px;\n`;\n\nconst ValueSelect = styled(Select)`\n width: 400px;\n`;\n\nconst ResetBtn = styled(Button)`\n margin-left: 5px;\n`;\n\ntype Props = {\n userId: string;\n permissions: Immutable.List;\n}\n\ntype Option = {\n value: string;\n label: string;\n}\n\n// We cannot ask for all since the backend did not implement something like this. So for now its 10000.\nconst UNLIMITED_ENTITY_SHARE_REQ = { page: 1, perPage: 10000, query: '' };\n\nconst grnId = (grn) => getValuesFromGRN(grn).id;\nconst _grnOptionFormatter = ({ id, title }: SharedEntity): Option => ({ value: grnId(id), label: title });\nconst typeOptions = [\n { value: 'dashboard', label: 'Dashboard' },\n { value: 'stream', label: 'Stream' },\n { value: 'search', label: 'Search' },\n];\n\nconst ADMIN_PERMISSION = '*';\n\nconst useStartPageOptions = (userId, permissions) => {\n const { values: { startpage } } = useFormikContext();\n const selectedUserIsAdmin = permissions.includes(ADMIN_PERMISSION);\n const [userDashboards, setUserDashboards] = useState
© 2015 - 2024 Weber Informatics LLC | Privacy Policy