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

web-interface.assets.325e2d4b-6013.8b5785c5d57038ab82c6.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"325e2d4b-6013.8b5785c5d57038ab82c6.js","mappings":"iTA2BA,MAYA,EAZqB,IAAqB,UAApB,KAAEA,GAAkB,EACxC,MAAMC,EAAcC,EAAAA,YAAAA,QAAoB,SAElCC,EAAsBF,SAAH,UAAGA,EAAc,UAAjB,aAAG,EAAkBE,oBAE9C,OACE,gBAACC,EAAA,EAAD,CAAkBC,MAAM,SACrBF,EAAsB,gBAACA,EAAD,CAAqBH,KAAMA,EAAMM,UAAQ,IAAM,gBAAC,KAAD,CAA0BC,YAAY,UAFhH,E,oBCJF,MAoBA,EApBqB,IAAmC,IAAhCP,MAAM,GAAEQ,EAAF,KAAMC,IAAoB,EACtD,MAAOC,EAASC,IAAcC,EAAAA,EAAAA,WAAS,GAEjCC,GAAUC,EAAAA,EAAAA,cAAaC,IAC3BJ,GAAW,GAEJK,EAAAA,EAAAA,iBAAkCR,EAAIC,EAAMM,GAAYE,MAAMC,IACnEP,GAAW,GAEJO,OAER,CAACV,EAAIC,IAER,OACE,gBAACL,EAAA,EAAD,CAAkBC,MAAM,QAAQc,YAAaT,GAC3C,gBAAC,KAAD,CAAuBU,WAAW,qCAAqCC,OAAQR,IAFnF,ECvBF,ECYoB,IAAqB,IAApB,KAAEb,GAAkB,EACvC,OAAKA,EAKH,gBAACsB,EAAA,EAAD,KACE,2BACE,gBAACC,EAAA,EAAD,CAAgBvB,KAAMA,KAExB,2BACE,gBAAC,EAAD,CAAcA,KAAMA,IACpB,gBAAC,EAAD,CAAcA,KAAMA,MAVjB,gBAAC,KAAD,KAGT,E,oECCF,MAAMwB,EAAY,QAAC,SAAEC,GAAH,SAChB,gDACgBA,GACZ,qCACI,yBAAIA,IAJI,EAwClB,GAAeC,EAAAA,EAAAA,IA9BS,IAAuB,UAAtB,OAAEC,GAAoB,EAC7C,MAAOC,EAAYC,IAAiBjB,EAAAA,EAAAA,YAC9BkB,EAASH,aAAH,EAAGA,EAAQG,OAMvB,OAJAC,EAAAA,EAAAA,YAAU,KACRf,EAAAA,EAAAA,KAAsBc,GAAQb,KAAKY,EAAnC,GACC,CAACC,IAGF,gBAAC,KAAD,CAAezB,MAAQ,gBAAD,UAAgBuB,aAAhB,EAAgBA,EAAYnB,YAA5B,QAAoC,MACxD,gBAAC,KAAD,CAAYJ,MAAO,gBAACmB,EAAD,CAAWC,SAAUG,aAAF,EAAEA,EAAYnB,OACxCuB,QAAS,gBAACC,EAAA,EAAD,CAAiBH,OAAQA,IAClCI,kBAAmB,CACjB7B,MAAO,4BACP8B,KAAMC,EAAAA,EAAAA,MAAAA,aAERC,WACE,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,WAAAA,UACjB,gBAAC,KAAD,CAAQC,QAAQ,QAAhB,oBAGd,+FAIF,gBAAC,EAAD,CAAaxC,KAAM8B,KAAWF,aAAL,EAAKA,EAAYpB,IAAKoB,OAAaa,IAjBhE,G","sources":["webpack://graylog-web-interface/./src/components/roles/RoleDetails/TeamsSection.tsx","webpack://graylog-web-interface/./src/components/roles/RoleDetails/UsersSection.tsx","webpack://graylog-web-interface/./src/components/roles/RoleDetails/index.tsx","webpack://graylog-web-interface/./src/components/roles/RoleDetails/RoleDetails.tsx","webpack://graylog-web-interface/./src/pages/RoleDetailsPage.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';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type Role from 'logic/roles/Role';\nimport { EnterprisePluginNotFound } from 'components/common';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\ntype Props = {\n  role: Role,\n};\n\nconst TeamsSection = ({ role }: Props) => {\n  const teamsPlugin = PluginStore.exports('teams');\n\n  const RoleTeamsAssignment = teamsPlugin?.[0]?.RoleTeamsAssignment;\n\n  return (\n    \n      {RoleTeamsAssignment ?  : }\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';\nimport { useState, useCallback } from 'react';\n\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport { PaginatedItemOverview } from 'components/common';\nimport SectionComponent from 'components/common/Section/SectionComponent';\nimport type Role from 'logic/roles/Role';\n\ntype Props = {\n  role: Role,\n};\n\nconst UsersSection = ({ role: { id, name } }: Props) => {\n  const [loading, setLoading] = useState(false);\n\n  const _onLoad = useCallback((pagination) => {\n    setLoading(true);\n\n    return AuthzRolesDomain.loadUsersForRole(id, name, pagination).then((paginatedRoles) => {\n      setLoading(false);\n\n      return paginatedRoles;\n    });\n  }, [id, name]);\n\n  return (\n    \n      \n    \n  );\n};\n\nexport default UsersSection;\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 RoleDetails from './RoleDetails';\n\nexport default RoleDetails;\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 { Spinner } from 'components/common';\nimport SectionGrid from 'components/common/Section/SectionGrid';\nimport type Role from 'logic/roles/Role';\n\nimport TeamsSection from './TeamsSection';\nimport ProfileSection from './ProfileSection';\nimport UsersSection from './UsersSection';\n\ntype Props = {\n  role: Role | null | undefined,\n};\n\nconst RoleDetails = ({ role }: Props) => {\n  if (!role) {\n    return ;\n  }\n\n  return (\n    \n      
\n \n
\n
\n \n \n
\n
\n );\n};\n\nexport default RoleDetails;\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 { LinkContainer } from 'components/common/router';\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport RoleDetails from 'components/roles/RoleDetails';\nimport RoleActionLinks from 'components/roles/navigation/RoleActionLinks';\nimport DocsHelper from 'util/DocsHelper';\nimport { PageHeader, DocumentTitle } from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport type Role from 'logic/roles/Role';\n\ntype Props = {\n params: {\n roleId: string,\n },\n};\n\nconst PageTitle = ({ fullName }: { fullName: string | undefined | null }) => (\n <>\n Role Details {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst RoleDetailsPage = ({ params }: Props) => {\n const [loadedRole, setLoadedRole] = useState();\n const roleId = params?.roleId;\n\n useEffect(() => {\n AuthzRolesDomain.load(roleId).then(setLoadedRole);\n }, [roleId]);\n\n return (\n \n }\n actions={}\n documentationLink={{\n title: 'Permissions documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}\n topActions={(\n \n \n \n )}>\n \n Overview of details like name, description and assigned users.\n \n \n \n \n );\n};\n\nexport default withParams(RoleDetailsPage);\n"],"names":["role","teamsPlugin","PluginStore","RoleTeamsAssignment","SectionComponent","title","readOnly","featureName","id","name","loading","setLoading","useState","_onLoad","useCallback","pagination","AuthzRolesDomain","then","paginatedRoles","showLoading","noDataText","onLoad","SectionGrid","ProfileSection","PageTitle","fullName","withParams","params","loadedRole","setLoadedRole","roleId","useEffect","actions","RoleActionLinks","documentationLink","path","DocsHelper","topActions","to","Routes","bsStyle","undefined"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy