All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b6fe2bb5-3744.d869d788afee7d4cfe05.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-3744.d869d788afee7d4cfe05.js","mappings":"kPAmCA,QAZ8B,kBAC5B,gBAAC,KAAD,CAAKA,UAAU,WACb,gBAAC,KAAD,CAAKC,GAAI,IACP,gBAAC,KAAD,CAAOC,QAAQ,QACb,gBAAC,KAAD,CAAMC,KAAK,gBAAiB,IAAI,iDAA2B,2BAD7D,sMAGqC,yBAAG,gBAAC,KAAD,CAAMA,KAAK,cAAd,UAHrC,uGAG+K,gBAAC,IAAD,CAAmBC,KAAMC,EAAAA,EAAAA,MAAAA,YAA8BC,KAAK,kBAH3O,S,0FCLAC,EACJ,gBAAC,KAAD,CAASC,GAAG,yBAAyBC,MAAM,sBACzC,yBAAG,0DACH,gBAAC,KAAD,CAAOC,WAAS,GACd,6BACE,0BACE,mCACA,2CAGJ,6BACE,0BACE,kCACA,wCAEF,0BACE,yCACA,wDAIN,yBAAG,2CACH,6EACmD,2BACjD,kDAA8B,6BAWpC,QANuB,kBACrB,gBAAC,KAAD,CAAgBC,QAAQ,QAAQC,WAAS,EAACC,UAAU,QAAQC,QAASP,GACnE,gBAAC,KAAD,CAAQL,QAAQ,QAAO,gBAAC,KAAD,CAAMC,KAAK,wB,wGCDtC,QAtBwB,SAAC,GAAD,IAAGY,EAAH,EAAGA,OAAQC,EAAX,EAAWA,eAAX,OACtB,gBAAC,KAAD,KACE,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,MAAAA,KAAyBH,IAC1C,gBAAC,KAAD,CAAQb,QAAQ,WAAhB,kBAIAc,GACA,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,MAAAA,KAAyBH,IAC1C,gBAAC,KAAD,CAAQb,QAAQ,WAAhB,cAKJ,gBAAC,IAAD,CAAee,GAAIC,EAAAA,GAAAA,OAAAA,MAAAA,OAA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AAiBvL,OAAQA,EACRC,eAAc,UAAEkL,MAAAA,OAAF,EAAEA,EAAYrK,gBAAd,YAE3C,wGAIA,gDACoB,IAClB,gBAAC0K,GAAA,EAAD,CAAmBnM,KAAMC,EAAAA,EAAAA,MAAAA,YACNC,KAAK,mBAG1B,gBAACkM,GAAA,EAAD,OAGF,gBAAC,GAAD,CAAa9K,KAAMX,KAAWmL,MAAAA,OAAL,EAAKA,EAAY1L,IAAK0L,OAAanB","sources":["webpack://graylog-web-interface/./src/components/users/PermissionsUpdateInfo.tsx","webpack://graylog-web-interface/./src/components/users/RolesQueryHelp.tsx","webpack://graylog-web-interface/./src/components/users/navigation/UserActionLinks.tsx","webpack://graylog-web-interface/./src/components/users/navigation/UserOverviewLinks.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/PreferencesSection.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/ProfileSection.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/RolesSection.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/SettingsSection.tsx","webpack://graylog-web-interface/./src/logic/permissions/mocked.ts","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesQueryHelper.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesFilter.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesOverviewItem/OwnersCell.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesOverviewItem/SharedEntitiesOverviewItem.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesOverviewItem/index.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/SharedEntitiesOverview.tsx","webpack://graylog-web-interface/./src/components/permissions/SharedEntitiesOverview/index.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/SharedEntitiesSection.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/TeamsSection.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/UserDetails.tsx","webpack://graylog-web-interface/./src/components/users/UserDetails/index.ts","webpack://graylog-web-interface/./src/pages/UserDetailsPage.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 * 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        {' '}Granting Permissions
\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';\n\nimport { OverlayTrigger, Icon } from 'components/common';\nimport { Popover, Table, Button } from 'components/bootstrap';\n\nconst rolesQueryHelpPopover = (\n \n

Available search fields

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldDescription
nameRole name
descriptionDescription of the Role
\n

Examples

\n

\n Find roles with a description containing creator:
\n description:creator
\n

\n
\n);\n\nconst RolesQueryHelp = () => (\n \n \n \n);\n\nexport default RolesQueryHelp;\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 * as React from 'react';\n\nimport { LinkContainer } from 'components/common/router';\nimport { IfPermitted } from 'components/common';\nimport { ButtonToolbar, Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\n\nconst UserOverviewLinks = () => {\n const teamsRoute = Routes.getPluginRoute('SYSTEM_TEAMS');\n\n return (\n \n \n \n \n \n \n {teamsRoute && (\n \n \n \n \n \n )}\n \n );\n};\n\nexport default UserOverviewLinks;\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 { PREFERENCES_THEME_MODE } from 'theme/constants';\nimport { ReadOnlyFormGroup } from 'components/common';\nimport Store from 'logic/local-storage/Store';\nimport type User from 'logic/users/User';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\ntype Props = {\n user: User,\n};\n\nconst defaultPreferences = {\n enableSmartSearch: false,\n updateUnfocussed: false,\n searchSidebarIsPinned: false,\n dashboardSidebarIsPinned: false,\n};\n\nconst PreferencesSection = ({ user: { preferences: databasePreferences, readOnly } }: Props) => {\n let preferences = databasePreferences || defaultPreferences;\n\n if (readOnly) {\n const localStoragePreferences = {\n searchSidebarIsPinned: Store.get('searchSidebarIsPinned'),\n dashboardSidebarIsPinned: Store.get('dashboardSidebarIsPinned'),\n [PREFERENCES_THEME_MODE]: Store.get(PREFERENCES_THEME_MODE),\n };\n preferences = { ...preferences, ...localStoragePreferences };\n }\n\n const {\n enableSmartSearch,\n updateUnfocussed,\n searchSidebarIsPinned,\n dashboardSidebarIsPinned,\n } = preferences;\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default PreferencesSection;\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 { ReadOnlyFormGroup } from 'components/common';\nimport type User from 'logic/users/User';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\ntype Props = {\n user: User,\n};\n\nconst ProfileSection = ({\n user: {\n username,\n fullName,\n firstName,\n lastName,\n email,\n clientAddress,\n lastActivity,\n sessionActive,\n accountStatus,\n },\n}: Props) => {\n const isOldUser = () => {\n return fullName && (!firstName && !lastName);\n };\n\n return (\n \n \n {isOldUser() && }\n \n \n \n \n \n \n \n \n );\n};\n\nexport default ProfileSection;\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 { useState, useCallback } from 'react';\n\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport type User from 'logic/users/User';\nimport type { PaginatedListType } from 'components/common/PaginatedItemOverview';\nimport PaginatedItemOverview from 'components/common/PaginatedItemOverview';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\nimport RolesQueryHelp from '../RolesQueryHelp';\n\ntype Props = {\n user: User,\n};\n\nconst RolesSection = ({ user: { username } }: Props) => {\n const [loading, setLoading] = useState(false);\n\n const _onLoad = useCallback((pagination, isSubscribed: boolean) => {\n setLoading(true);\n\n return AuthzRolesDomain.loadRolesForUser(username, pagination).then((paginatedRoles): PaginatedListType => {\n if (isSubscribed) {\n setLoading(false);\n }\n\n return paginatedRoles;\n });\n }, [username]);\n\n return (\n \n } />\n \n );\n};\n\nexport default RolesSection;\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 { useState, useEffect } from 'react';\nimport { upperFirst } from 'lodash';\n\nimport Routes from 'routing/Routes';\nimport { Link } from 'components/common/router';\nimport { ReadOnlyFormGroup } from 'components/common';\nimport type User from 'logic/users/User';\nimport SectionComponent from 'components/common/Section/SectionComponent';\nimport { StreamsActions } from 'stores/streams/StreamsStore';\nimport { ViewManagementActions } from 'views/stores/ViewManagementStore';\n\ntype Props = {\n user: User,\n};\n\nconst _sessionTimeout = (sessionTimeout) => {\n if (sessionTimeout) {\n return `${sessionTimeout.value} ${sessionTimeout.unitString}`;\n }\n\n return 'Sessions do not timeout';\n};\n\nconst StartpageValue = ({ type, id }: { type: string | null | undefined, id: string | null | undefined }) => {\n const [title, setTitle] = useState();\n\n useEffect(() => {\n if (!type || !id) {\n return;\n }\n\n if (type === 'stream') {\n StreamsActions.get(id).then(({ title: streamTitle }) => setTitle(streamTitle));\n } else {\n ViewManagementActions.get(id).then(({ title: viewTitle }) => setTitle(viewTitle));\n }\n }, [id, type]);\n\n if (!type || !id) {\n return No start page set;\n }\n\n const route = type === 'stream' ? Routes.stream_search(id) : Routes.dashboard_show(id);\n\n return (\n {upperFirst(type)}: {title}\n );\n};\n\nconst SettingsSection = ({\n user: {\n timezone,\n serviceAccount,\n sessionTimeout,\n startpage,\n },\n}: Props) => (\n \n \n \n \n } />\n \n);\n\nexport default SettingsSection;\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 Immutable from 'immutable';\n\nimport SharedEntity from 'logic/permissions/SharedEntity';\nimport type { AdditionalQueries } from 'util/PaginationURL';\n\n// Temporary file to mock api responses\n\nconst searchPaginatedEntitySharesResponse = (page: number, perPage: number, query: string, additionalQueries?: AdditionalQueries) => {\n const mockedEntities = new Array(perPage).fill({\n id: 'grn::::stream:57bc9188e62a2373778d9e03',\n type: 'stream',\n title: 'Security Data',\n owners: [\n {\n id: 'grn::::user:jane',\n type: 'user',\n title: 'Jane Doe',\n },\n ],\n });\n\n const mockedResponse = {\n additionalQueries: additionalQueries,\n total: 230,\n count: Math.round(230 / perPage),\n page: page || 1,\n per_page: perPage || 10,\n query: query || '',\n entities: mockedEntities,\n context: {\n grantee_capabilities: {\n 'grn::::stream:57bc9188e62a2373778d9e03': 'view',\n },\n },\n };\n\n return Promise.resolve({\n list: Immutable.List(mockedResponse.entities.map((se) => SharedEntity.fromJSON(se))),\n context: { granteeCapabilities: mockedResponse.context.grantee_capabilities },\n pagination: {\n additionalQueries: mockedResponse.additionalQueries,\n count: mockedResponse.count,\n total: mockedResponse.total,\n page: mockedResponse.page,\n perPage: mockedResponse.per_page,\n query: mockedResponse.query,\n },\n });\n};\n\nconst availableEntityTypes = {\n stream: 'Stream',\n dashboard: 'Dashboard',\n search: 'Saved Search',\n event_definition: 'Event Definition',\n};\n\nconst availableCapabilities = {\n own: 'Owner',\n view: 'Viewer',\n manage: 'Manager',\n};\n\nexport default { searchPaginatedEntitySharesResponse, availableEntityTypes, availableCapabilities };\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 { Popover, Table, Button } from 'components/bootstrap';\nimport { OverlayTrigger, Icon } from 'components/common';\n\nconst sharedEntitiesQueryHelperPopover = (\n \n

Available search fields

\n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldDescription
titleTitle of a shared entity.
\n

Examples

\n

\n Find shared entities with a title containing security:
\n title:security
\n

\n
\n);\n\nconst SharedEntitiesQueryHelper = () => (\n \n \n \n);\n\nexport default SharedEntitiesQueryHelper;\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 styled from 'styled-components';\n\nimport mockedPermissions from 'logic/permissions/mocked';\nimport { SearchForm, Select } from 'components/common';\n\nimport SharedEntitiesQueryHelper from './SharedEntitiesQueryHelper';\n\ntype Props = {\n onSearch: (query: string) => void,\n onFilter: (param: string, value: string) => void,\n};\n\nconst StyledSearchForm = styled(SearchForm)`\n display: inline-block;\n\n margin-bottom: 10px;\n margin-right: 15px;\n`;\n\nconst Filters = styled.div`\n display: inline-block;\n vertical-align: top;\n\n margin-right: 15px;\n margin-bottom: 10px;\n`;\n\nconst SelectWrapper = styled.div`\n display: inline-flex;\n align-items: center;\n vertical-align: top;\n\n width: 260px;\n margin-left: 10px;\n margin-right: 10px;\n\n white-space: nowrap;\n`;\n\nconst StyledSelect = styled(Select)`\n width: 300px;\n margin-left: 10px;\n`;\n\nconst entityTypeOptions = Object.entries(mockedPermissions.availableEntityTypes).map(([key, value]) => ({ label: value, value: key }));\nconst capabilityOptions = Object.entries(mockedPermissions.availableCapabilities).map(([key, value]) => ({ label: value, value: key }));\n\nconst SharedEntitiesFilter = ({ onSearch, onFilter }: Props) => (\n <>\n onSearch('')}\n onSearch={onSearch}\n queryHelpComponent={}\n topMargin={0} />\n\n \n \n \n onFilter('entity_type', entityType)}\n options={entityTypeOptions}\n placeholder=\"Filter entity types\" />\n \n \n \n onFilter('capability', capability)}\n options={capabilityOptions}\n placeholder=\"Filter capabilities\" />\n \n \n \n);\n\nexport default SharedEntitiesFilter;\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 */\n\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport type { List } from 'immutable';\n\nimport { isPermitted } from 'util/PermissionsMixin';\nimport type Grantee from 'logic/permissions/Grantee';\nimport { Link } from 'components/common/router';\nimport { defaultCompare } from 'views/logic/DefaultCompare';\nimport CurrentUserContext from 'contexts/CurrentUserContext';\nimport type { GranteesList } from 'logic/permissions/EntityShareState';\nimport { getShowRouteFromGRN } from 'logic/permissions/GRN';\n\ntype Props = {\n owners: GranteesList,\n};\n\nconst TitleWithLink = ({ to, title }: { to: string, title: string }) => {title};\n\nconst assertUnreachable = (type: 'error'): never => {\n throw new Error(`Owner of entity has not supported type: ${type}`);\n};\n\nconst _getOwnerTitle = ({ type, id, title }: Grantee, userPermissions: List) => {\n switch (type) {\n case 'user':\n if (!isPermitted(userPermissions, 'users:list')) return title;\n\n return ;\n case 'team':\n if (!isPermitted(userPermissions, 'teams:list')) return title;\n\n return ;\n case 'global':\n return 'Everyone';\n default:\n return assertUnreachable(type);\n }\n};\n\nconst OwnersCell = ({ owners }: Props) => {\n const currentUser = useContext(CurrentUserContext);\n const sortedOwners = owners.sort((o1, o2) => defaultCompare(o1.type, o2.type) || defaultCompare(o1.title, o2.title));\n\n return (\n \n {sortedOwners.map((owner, index) => {\n const title = _getOwnerTitle(owner, currentUser?.permissions);\n const isLast = index >= owners.size - 1;\n\n return (\n \n {title}\n {!isLast && ', '}\n \n );\n })}\n \n );\n};\n\nexport default OwnersCell;\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 { Link } from 'components/common/router';\nimport type SharedEntity from 'logic/permissions/SharedEntity';\nimport { getShowRouteFromGRN } from 'logic/permissions/GRN';\n\nimport OwnersCell from './OwnersCell';\n\ntype Props = {\n capabilityTitle: string,\n sharedEntity: SharedEntity,\n};\n\nconst SharedEntitiesOverviewItem = ({\n capabilityTitle,\n sharedEntity: {\n owners,\n title,\n type,\n id,\n },\n}: Props) => (\n \n \n {title}\n \n {type}\n \n {capabilityTitle}\n \n);\n\nexport default SharedEntitiesOverviewItem;\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 */\n\nimport SharedEntitiesOverviewItem from './SharedEntitiesOverviewItem';\n\nexport default SharedEntitiesOverviewItem;\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 { useState, useEffect } from 'react';\nimport styled from 'styled-components';\n\nimport type { Pagination } from 'stores/PaginationTypes';\nimport mockedPermissions from 'logic/permissions/mocked';\nimport type { PaginatedEntityShares } from 'actions/permissions/EntityShareActions';\nimport { DataTable, PaginatedList, Spinner, EmptyResult } from 'components/common';\n\nimport SharedEntitiesFilter from './SharedEntitiesFilter';\nimport SharedEntitiesOverviewItem from './SharedEntitiesOverviewItem';\n\nconst TABLE_HEADERS = ['Entity Name', 'Entity Type', 'Owner', 'Capability'];\nconst DEFAULT_PAGINATION = {\n page: 1,\n perPage: 10,\n query: '',\n};\n\ntype Props = {\n entityType: string,\n searchPaginated: (pagination: Pagination) => Promise,\n setLoading: (loading: boolean) => void,\n};\n\nconst StyledPaginatedList = styled(PaginatedList)`\n .pagination {\n margin: 0;\n }\n`;\n\nconst _sharedEntityOverviewItem = (sharedEntity, { granteeCapabilities } = { granteeCapabilities: undefined }) => {\n const capability = granteeCapabilities?.[sharedEntity.id];\n const capabilityTitle = mockedPermissions.availableCapabilities[capability];\n\n return ;\n};\n\nconst _loadSharedEntities = (pagination, searchPaginated, setPaginatedEntityShares, setLoading) => {\n setLoading(true);\n\n searchPaginated(pagination).then((paginatedEntityShares) => {\n setLoading(false);\n setPaginatedEntityShares(paginatedEntityShares);\n });\n};\n\nconst SharedEntitiesOverview = ({ entityType, searchPaginated, setLoading }: Props) => {\n const [paginatedEntityShares, setPaginatedEntityShares] = useState();\n const [pagination, setPagination] = useState(DEFAULT_PAGINATION);\n const { list, context, pagination: { total } = { total: 0 } } = paginatedEntityShares || {};\n const { page, query, additionalQueries } = pagination;\n\n useEffect(() => _loadSharedEntities(pagination, searchPaginated, setPaginatedEntityShares, setLoading), [pagination, searchPaginated, setLoading]);\n\n const _handleSearch = (newQuery: string) => setPagination({ ...pagination, query: newQuery });\n const _handleFilter = (param: string, value: string) => setPagination({ ...pagination, query, additionalQueries: { ...additionalQueries, [param]: value } });\n\n if (!paginatedEntityShares) {\n return ;\n }\n\n return (\n <>\n

\n Found {total} entities which are shared with the {entityType}.\n

\n setPagination({ ...pagination, page: newPage, perPage: newPerPage })}>\n \n )}\n dataRowFormatter={(sharedEntity) => _sharedEntityOverviewItem(sharedEntity, context)}\n filterKeys={[]}\n noDataText={No shared entities have been found.}\n headers={TABLE_HEADERS}\n id=\"shared-entities\"\n rowClassName=\"no-bm\"\n rows={list.toJS()}\n sortByKey=\"type\" />\n \n \n );\n};\n\nexport default SharedEntitiesOverview;\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 */\n\nimport SharedEntitiesOverview from './SharedEntitiesOverview';\n\nexport default SharedEntitiesOverview;\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 { useState, useCallback } from 'react';\nimport type { $PropertyType } from 'utility-types';\n\nimport SharedEntitiesOverview from 'components/permissions/SharedEntitiesOverview';\nimport EntityShareDomain from 'domainActions/permissions/EntityShareDomain';\nimport type User from 'logic/users/User';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\ntype Props = {\n userId: $PropertyType,\n};\n\nconst SharedEntitiesSection = ({ userId }: Props) => {\n const [loading, setLoading] = useState(false);\n const _searchPaginated = useCallback((pagination) => EntityShareDomain.loadUserSharesPaginated(userId, pagination), [userId]);\n\n return (\n \n \n \n );\n};\n\nexport default SharedEntitiesSection;\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 { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type User from 'logic/users/User';\nimport { EnterprisePluginNotFound } from 'components/common';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\ntype Props = {\n user: User,\n};\n\nconst TeamsSection = ({ user }: Props) => {\n const teamsPlugin = PluginStore.exports('teams');\n\n const UserTeamsAssignment = teamsPlugin?.[0]?.UserTeamsAssignment;\n\n return (\n \n {UserTeamsAssignment ? : }\n \n );\n};\n\nexport default TeamsSection;\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 { IfPermitted, Spinner } from 'components/common';\nimport type User from 'logic/users/User';\nimport SectionGrid from 'components/common/Section/SectionGrid';\n\nimport PreferencesSection from './PreferencesSection';\nimport ProfileSection from './ProfileSection';\nimport RolesSection from './RolesSection';\nimport SettingsSection from './SettingsSection';\nimport SharedEntitiesSection from './SharedEntitiesSection';\nimport TeamsSection from './TeamsSection';\n\nimport PermissionsUpdateInfo from '../PermissionsUpdateInfo';\n\ntype Props = {\n user: User | null | undefined,\n};\n\nconst UserDetails = ({ user }: Props) => {\n if (!user) {\n return ;\n }\n\n return (\n <>\n \n \n
\n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n \n \n );\n};\n\nexport default UserDetails;\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 UserDetails from './UserDetails';\n\nexport default UserDetails;\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 { useEffect, useState } from 'react';\n\nimport withParams from 'routing/withParams';\nimport { PageHeader, DocumentTitle } from 'components/common';\nimport DocsHelper from 'util/DocsHelper';\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport UserDetails from 'components/users/UserDetails';\nimport UserOverviewLinks from 'components/users/navigation/UserOverviewLinks';\nimport UserActionLinks from 'components/users/navigation/UserActionLinks';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport type User from 'logic/users/User';\n\ntype Props = {\n params: {\n userId: string,\n },\n};\n\nconst PageTitle = ({ fullName }: {fullName: string}) => (\n <>\n User Details {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst UserDetailsPage = ({ params }: Props) => {\n const [loadedUser, setLoadedUser] = useState();\n const userId = params?.userId;\n\n useEffect(() => {\n UsersDomain.load(userId).then(setLoadedUser);\n }, [userId]);\n\n return (\n \n }\n subactions={(\n \n )}>\n \n Overview of details like profile information, settings, teams and roles.\n \n\n \n Learn more in the{' '}\n \n \n\n \n \n\n \n \n );\n};\n\nexport default withParams(UserDetailsPage);\n"],"names":["className","xs","bsStyle","name","page","DocsHelper","text","rolesQueryHelpPopover","id","title","condensed","trigger","rootClose","placement","overlay","userId","userIsReadOnly","to","Routes","teamsRoute","permissions","defaultPreferences","enableSmartSearch","updateUnfocussed","searchSidebarIsPinned","dashboardSidebarIsPinned","user","databasePreferences","preferences","readOnly","localStoragePreferences","Store","PREFERENCES_THEME_MODE","SectionComponent","label","value","username","fullName","firstName","lastName","email","clientAddress","lastActivity","sessionActive","accountStatus","useState","loading","setLoading","_onLoad","useCallback","pagination","isSubscribed","AuthzRolesDomain","then","paginatedRoles","showLoading","PaginatedItemOverview","noDataText","onLoad","queryHelper","RolesQueryHelp","_sessionTimeout","sessionTimeout","unitString","StartpageValue","type","setTitle","useEffect","StreamsActions","streamTitle","ViewManagementActions","viewTitle","route","upperFirst","timezone","serviceAccount","startpage","searchPaginatedEntitySharesResponse","perPage","query","additionalQueries","mockedEntities","Array","fill","owners","mockedResponse","total","count","Math","round","per_page","entities","context","grantee_capabilities","Promise","resolve","list","Immutable","map","se","SharedEntity","granteeCapabilities","availableEntityTypes","stream","dashboard","search","event_definition","availableCapabilities","own","view","manage","sharedEntitiesQueryHelperPopover","StyledSearchForm","styled","SearchForm","Filters","SelectWrapper","StyledSelect","Select","entityTypeOptions","Object","entries","mockedPermissions","key","capabilityOptions","onSearch","onFilter","onReset","queryHelpComponent","topMargin","htmlFor","inputId","onChange","entityType","options","placeholder","capability","TitleWithLink","_getOwnerTitle","userPermissions","isPermitted","getShowRouteFromGRN","Error","assertUnreachable","currentUser","useContext","CurrentUserContext","sortedOwners","sort","o1","o2","defaultCompare","owner","index","isLast","size","capabilityTitle","sharedEntity","TABLE_HEADERS","DEFAULT_PAGINATION","StyledPaginatedList","PaginatedList","searchPaginated","paginatedEntityShares","setPaginatedEntityShares","setPagination","_loadSharedEntities","activePage","totalItems","newPage","newPerPage","customFilter","newQuery","param","dataRowFormatter","undefined","_sharedEntityOverviewItem","filterKeys","headers","rowClassName","rows","toJS","sortByKey","_searchPaginated","EntityShareDomain","teamsPlugin","PluginStore","UserTeamsAssignment","featureName","SectionGrid","PermissionsUpdateInfo","PageTitle","withParams","params","loadedUser","setLoadedUser","UsersDomain","subactions","UserActionLinks","DocumentationLink","UserOverviewLinks"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy