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

web-interface.assets.1255d548-5199.051923e3e75d70e8884e.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"1255d548-5199.051923e3e75d70e8884e.js","mappings":"wMAoBA,MAAMA,KAAO,KAAgB,CAC3B,OAAQ,IAAkB,KAC1B,MAAO,CAACC,EAAOC,KAAY,CACzB,QAAS,yBAAyBA,CAAM,yBAAyBD,CAAK,EACxE,GACA,iBAAkB,EACpB,CAAC,EAEKE,KAAe,KAAgB,CACnC,OAAQ,IAAkB,OAC1B,QAAS,CAACC,EAASC,KAAc,CAC/B,QAAS,SAASA,CAAQ,4BAC5B,GACA,MAAO,CAACJ,EAAOG,EAASC,KAAc,CACpC,QAAS,kBAAkBA,CAAQ,yBAAyBJ,CAAK,EACnE,EACF,CAAC,EAEKK,KAAa,KAAgB,CACjC,OAAQ,IAAkB,WAC1B,QAAS,CAACF,EAASG,KAAe,CAChC,QAAS,UAAUA,EAAU,KAAK,IAAI,CAAC,8BACzC,GACA,MAAO,CAACN,EAAOG,EAASG,KAAe,CACrC,QAAS,oBAAoBA,EAAU,KAAK,IAAI,CAAC,yBAAyBN,CAAK,EACjF,EACF,CAAC,EAEKO,KAAe,KAAgB,CACnC,OAAQ,IAAkB,aAC1B,QAAS,CAACJ,EAASK,KAAc,CAC/B,QAAS,SAASA,CAAQ,+BAC5B,GACA,MAAO,CAACR,EAAOG,EAASK,KAAc,CACpC,QAAS,kBAAkBA,CAAQ,yBAAyBR,CAAK,EACnE,EACF,CAAC,EAEKS,KAAmB,KAAgB,CACvC,OAAQ,IAAkB,iBAC1B,MAAO,CAACT,EAAOG,EAASC,KAAc,CACpC,QAAS,2BAA2BA,CAAQ,yBAAyBJ,CAAK,EAC5E,EACF,CAAC,EAEKU,KAAmB,KAAgB,CACvC,OAAQ,IAAkB,iBAC1B,MAAO,CAACV,EAAOQ,KAAc,CAC3B,QAAS,2BAA2BA,CAAQ,yBAAyBR,CA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,qBAAqB,IAAI,EACzDD,KAAMK,EAAA,GAAcD,EAAQrC,EAAMC,EAASI,CAAK,EAEhD8B,KAAU,MAAM,SAAO,MAAWF,CAAG,CAAC,EACzC,KAAKd,CAAwB,EAEhC,SAAkB,mBAAmB,QAAQgB,CAAO,EAE7CA,CACT,CACF,CAAC,CACH,C","sources":["webpack://graylog-web-interface/./src/domainActions/roles/AuthzRolesDomain.ts","webpack://graylog-web-interface/./src/logic/users/UserOverview.ts","webpack://graylog-web-interface/./src/components/roles/RolesOverview/ActionsCell.tsx","webpack://graylog-web-interface/./src/components/roles/RolesOverview/UsersCell.tsx","webpack://graylog-web-interface/./src/components/roles/RolesOverview/RolesOverviewItem.tsx","webpack://graylog-web-interface/./src/components/roles/RolesQueryHelper.tsx","webpack://graylog-web-interface/./src/components/roles/RolesOverview/RolesFilter.tsx","webpack://graylog-web-interface/./src/components/roles/RolesOverview/RolesOverview.tsx","webpack://graylog-web-interface/./src/components/roles/RolesOverview/index.ts","webpack://graylog-web-interface/./src/pages/RolesOverviewPage.tsx","webpack://graylog-web-interface/./src/logic/roles/Role.ts","webpack://graylog-web-interface/./src/actions/roles/AuthzRolesActions.ts","webpack://graylog-web-interface/./src/stores/roles/AuthzRolesStore.ts"],"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 { AuthzRolesActions } from 'stores/roles/AuthzRolesStore';\n\nimport notifyingAction from '../notifyingAction';\n\nconst load = notifyingAction({\n  action: AuthzRolesActions.load,\n  error: (error, roleId) => ({\n    message: `Loading role with id \"${roleId}\" failed with status: ${error}`,\n  }),\n  notFoundRedirect: true,\n});\n\nconst deleteAction = notifyingAction({\n  action: AuthzRolesActions.delete,\n  success: (_roleId, roleName) => ({\n    message: `Role \"${roleName}\" was deleted successfully`,\n  }),\n  error: (error, _roleId, roleName) => ({\n    message: `Deleting role \"${roleName}\" failed with status: ${error}`,\n  }),\n});\n\nconst addMembers = notifyingAction({\n  action: AuthzRolesActions.addMembers,\n  success: (_roleId, usernames) => ({\n    message: `Users:\"${usernames.join(', ')}\" were assigned successfully`,\n  }),\n  error: (error, _roleId, usernames) => ({\n    message: `Assigning users \"${usernames.join(', ')}\" failed with status: ${error}`,\n  }),\n});\n\nconst removeMember = notifyingAction({\n  action: AuthzRolesActions.removeMember,\n  success: (_roleId, username) => ({\n    message: `User \"${username}\" was unassigned successfully`,\n  }),\n  error: (error, _roleId, username) => ({\n    message: `Unassign user \"${username}\" failed with status: ${error}`,\n  }),\n});\n\nconst loadUsersForRole = notifyingAction({\n  action: AuthzRolesActions.loadUsersForRole,\n  error: (error, _roleId, roleName) => ({\n    message: `Loading users for role \"${roleName}\" failed with status: ${error}`,\n  }),\n});\n\nconst loadRolesForUser = notifyingAction({\n  action: AuthzRolesActions.loadRolesForUser,\n  error: (error, username) => ({\n    message: `Loading roles for user \"${username}\" failed with status: ${error}`,\n  }),\n});\n\nconst loadRolesPaginated = notifyingAction({\n  action: AuthzRolesActions.loadRolesPaginated,\n  error: (error) => ({\n    message: `Loading roles failed with status: ${error}`,\n  }),\n});\n\nexport default {\n  load,\n  delete: deleteAction,\n  addMembers,\n  removeMember,\n  loadUsersForRole,\n  loadRolesForUser,\n  loadRolesPaginated,\n};\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 { $PropertyType } from 'utility-types';\nimport * as Immutable from 'immutable';\n\nexport type AccountStatus = 'enabled' | 'disabled' | 'deleted';\n\nexport type UserOverviewJSON = {\n  id: string;\n  username: string;\n  full_name: string;\n  email: string;\n  external_user: boolean | null | undefined;\n  roles: Array;\n  read_only: boolean | null | undefined;\n  session_active: boolean | null | undefined;\n  client_address: string;\n  last_activity: string | null | undefined;\n  enabled: boolean;\n  auth_service_id: string;\n  auth_service_uid: string;\n  auth_service_enabled: boolean;\n  account_status: AccountStatus;\n};\n\ntype InternalState = {\n  id: string;\n  username: string;\n  fullName: string;\n  email: string;\n  roles: Immutable.Set;\n  readOnly: boolean;\n  external: boolean;\n  sessionActive: boolean;\n  clientAddress: string;\n  lastActivity: string | null | undefined;\n  enabled: boolean;\n  authServiceId: string;\n  authServiceUid: string;\n  authServiceEnabled: boolean;\n  accountStatus: AccountStatus;\n};\n\nexport default class UserOverview {\n  _value: InternalState;\n\n  constructor(\n    id: $PropertyType,\n    username: $PropertyType,\n    fullName: $PropertyType,\n    email: $PropertyType,\n    roles: $PropertyType,\n    readOnly: $PropertyType,\n    external: $PropertyType,\n    sessionActive: $PropertyType,\n    clientAddress: $PropertyType,\n    lastActivity: $PropertyType,\n    enabled: $PropertyType,\n    authServiceId: $PropertyType,\n    authServiceUid: $PropertyType,\n    authServiceEnabled: $PropertyType,\n    accountStatus: $PropertyType,\n  ) {\n    this._value = {\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    };\n  }\n\n  get id() {\n    return this._value.id;\n  }\n\n  get username() {\n    return this._value.username;\n  }\n\n  get name() {\n    return this._value.username;\n  }\n\n  get fullName() {\n    return this._value.fullName;\n  }\n\n  get description() {\n    return this._value.fullName;\n  }\n\n  get email() {\n    return this._value.email;\n  }\n\n  get roles() {\n    return this._value.roles;\n  }\n\n  get readOnly() {\n    return this._value.readOnly;\n  }\n\n  get external() {\n    return this._value.external;\n  }\n\n  get sessionActive() {\n    return this._value.sessionActive;\n  }\n\n  get clientAddress() {\n    return this._value.clientAddress;\n  }\n\n  get lastActivity() {\n    return this._value.lastActivity;\n  }\n\n  get enabled() {\n    return this._value.enabled;\n  }\n\n  get authServiceId() {\n    return this._value.authServiceId;\n  }\n\n  get authServiceUid() {\n    return this._value.authServiceUid;\n  }\n\n  get authServiceEnabled() {\n    return this._value.authServiceEnabled;\n  }\n\n  get accountStatus() {\n    return this._value.accountStatus;\n  }\n\n  toBuilder() {\n    const {\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    } = this._value;\n\n    // eslint-disable-next-line @typescript-eslint/no-use-before-define\n    return new Builder(Immutable.Map({\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    }));\n  }\n\n  static create(\n    id: $PropertyType,\n    username: $PropertyType,\n    fullName: $PropertyType,\n    email: $PropertyType,\n    roles: $PropertyType,\n    readOnly: $PropertyType,\n    external: $PropertyType,\n    sessionActive: $PropertyType,\n    clientAddress: $PropertyType,\n    lastActivity: $PropertyType,\n    enabled: $PropertyType,\n    authServiceId: $PropertyType,\n    authServiceUid: $PropertyType,\n    authServiceEnabled: $PropertyType,\n    accountStatus: $PropertyType,\n  ) {\n    return new UserOverview(\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    );\n  }\n\n  toJSON(): UserOverviewJSON {\n    const {\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    } = this._value;\n\n    return {\n      id,\n      username,\n      full_name: fullName,\n      email,\n      roles: roles.toArray(),\n      read_only: readOnly,\n      external_user: external,\n      session_active: sessionActive,\n      client_address: clientAddress,\n      last_activity: lastActivity,\n      enabled,\n      auth_service_id: authServiceId,\n      auth_service_uid: authServiceUid,\n      auth_service_enabled: authServiceEnabled,\n      account_status: accountStatus,\n    };\n  }\n\n  static fromJSON(value: UserOverviewJSON) {\n    const {\n      id,\n      username,\n      full_name: fullName,\n      email,\n      roles,\n      read_only: readOnly,\n      external_user: external,\n      session_active: sessionActive,\n      client_address: clientAddress,\n      last_activity: lastActivity,\n      enabled,\n      auth_service_id: authServiceId,\n      auth_service_uid: authServiceUid,\n      auth_service_enabled: authServiceEnabled,\n      account_status: accountStatus,\n    } = value;\n\n    return UserOverview.create(id,\n      username,\n      fullName,\n      email,\n      Immutable.Set(roles),\n      readOnly ?? false,\n      external ?? false,\n      sessionActive ?? false,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus);\n  }\n\n  static builder(): Builder {\n    // eslint-disable-next-line @typescript-eslint/no-use-before-define\n    return new Builder();\n  }\n}\n\ntype BuilderState = Immutable.Map;\n\nclass Builder {\n  value: BuilderState;\n\n  constructor(value: BuilderState = Immutable.Map()) {\n    this.value = value;\n  }\n\n  id(value: $PropertyType) {\n    return new Builder(this.value.set('id', value));\n  }\n\n  username(value: $PropertyType) {\n    return new Builder(this.value.set('username', value));\n  }\n\n  fullName(value: $PropertyType) {\n    return new Builder(this.value.set('fullName', value));\n  }\n\n  email(value: $PropertyType) {\n    return new Builder(this.value.set('email', value));\n  }\n\n  roles(value: $PropertyType) {\n    return new Builder(this.value.set('roles', value));\n  }\n\n  readOnly(value: $PropertyType) {\n    return new Builder(this.value.set('readOnly', value));\n  }\n\n  external(value: $PropertyType) {\n    return new Builder(this.value.set('external', value));\n  }\n\n  sessionActive(value: $PropertyType) {\n    return new Builder(this.value.set('sessionActive', value));\n  }\n\n  clientAddress(value: $PropertyType) {\n    return new Builder(this.value.set('clientAddress', value));\n  }\n\n  lastActivity(value: $PropertyType) {\n    return new Builder(this.value.set('lastActivity', value));\n  }\n\n  enabled(value: $PropertyType) {\n    return new Builder(this.value.set('enabled', value));\n  }\n\n  authServiceId(value: $PropertyType) {\n    return new Builder(this.value.set('authServiceId', value));\n  }\n\n  authServiceUid(value: $PropertyType) {\n    return new Builder(this.value.set('authServiceUid', value));\n  }\n\n  authServiceEnabled(value: $PropertyType) {\n    return new Builder(this.value.set('authServiceEnabled', value));\n  }\n\n  accountStatus(value: $PropertyType) {\n    return new Builder(this.value.set('accountStatus', value));\n  }\n\n  build() {\n    const {\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    } = this.value.toObject();\n\n    return new UserOverview(\n      id,\n      username,\n      fullName,\n      email,\n      roles,\n      readOnly,\n      external,\n      sessionActive,\n      clientAddress,\n      lastActivity,\n      enabled,\n      authServiceId,\n      authServiceUid,\n      authServiceEnabled,\n      accountStatus,\n    );\n  }\n}\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 } from 'react';\nimport styled from 'styled-components';\nimport type { $PropertyType } from 'utility-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport Routes from 'routing/Routes';\nimport type Role from 'logic/roles/Role';\nimport { Button } from 'components/bootstrap';\nimport { IfPermitted, Spinner } from 'components/common';\n\ntype Props = {\n  readOnly: $PropertyType,\n  roleId: $PropertyType,\n  roleName: $PropertyType,\n};\n\nconst ActionsWrapper = styled.div`\n  display: flex;\n  justify-content: flex-end;\n`;\n\nconst _deleteRole = (roleId: $PropertyType, roleName: $PropertyType, setDeleting: (boolean) => void) => {\n  let confirmMessage = `Do you really want to delete role \"${roleName}\"?`;\n  const getOneUser = { page: 1, perPage: 1, query: '' };\n  setDeleting(true);\n\n  AuthzRolesDomain.loadUsersForRole(roleId, roleName, getOneUser).then((paginatedUsers) => {\n    if (paginatedUsers.pagination.total >= 1) {\n      confirmMessage += `\\n\\nIt is still assigned to ${paginatedUsers.pagination.total} users.`;\n    }\n\n    // eslint-disable-next-line no-alert\n    if (window.confirm(confirmMessage)) {\n      AuthzRolesDomain.delete(roleId, roleName).then(() => {\n        setDeleting(false);\n      });\n    } else {\n      setDeleting(false);\n    }\n  });\n};\n\nconst ActionsCell = ({ roleId, roleName, readOnly }: Props) => {\n  const [deleting, setDeleting] = useState(false);\n\n  return (\n    \n      \n        \n          \n            \n          \n        \n        {!readOnly && (\n          \n            <>\n               \n              \n            \n          \n        )}\n      \n    \n  );\n};\n\nexport default ActionsCell;\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 * as Immutable from 'immutable';\n\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\nimport { IfPermitted, CountBadge } from 'components/common';\nimport type { UserContext } from 'actions/roles/AuthzRolesActions';\n\ntype Props = {\n  users: Immutable.Set,\n};\n\nconst MAX_USERS = 10;\n\nconst UsersCell = ({ users = Immutable.Set() }: Props) => {\n  const usersLength = users.size;\n  const usersComponents = users.take(MAX_USERS).toArray().map(({ id, username }, index) => (\n    \n      <>\n        {username}{index < (usersLength - 1) && ',  '}\n      \n    \n  ));\n\n  if (usersLength > MAX_USERS) {\n    usersComponents.push(...);\n  }\n\n  return (\n    \n      {users.size}\n      {' '}\n      {usersComponents}\n    \n  );\n};\n\nexport default UsersCell;\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 * as Immutable from 'immutable';\nimport styled from 'styled-components';\n\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\nimport type Role from 'logic/roles/Role';\nimport { TextOverflowEllipsis } from 'components/common';\nimport type { UserContext } from 'actions/roles/AuthzRolesActions';\n\nimport ActionsCell from './ActionsCell';\nimport UsersCell from './UsersCell';\n\nconst DescriptionCell = styled.td`\n  max-width: 300px;\n`;\n\ntype Props = {\n  role: Role,\n  users: UserContext[],\n};\n\nconst RolesOverviewItem = ({\n  role: {\n    id,\n    name,\n    description,\n    readOnly,\n  },\n  users,\n}: Props) => (\n  \n    \n      \n        {name}\n      \n    \n    \n      \n        {description}\n      \n    \n    \n    \n  \n);\n\nexport default RolesOverviewItem;\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 RolesQueryHelperPopover = (\n  \n    

Available search fields

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldDescription
nameThe name of a role
descriptionThe description of a role
\n

Examples

\n

\n Find role with a name containing manager:
\n name:manager
\n

\n
\n);\n\nconst RolesQueryHelper = () => (\n \n \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 * as React from 'react';\nimport styled from 'styled-components';\nimport type { $PropertyType } from 'utility-types';\n\nimport { SearchForm } from 'components/common';\nimport type { Pagination } from 'stores/PaginationTypes';\n\nimport RolesQueryHelper from '../RolesQueryHelper';\n\ntype Props = {\n onSearch: (query: $PropertyType) => void,\n};\n\nconst Container = styled.div`\n margin-bottom: 10px;\n`;\n\nconst RolesFilter = ({ onSearch }: Props) => (\n \n onSearch('')}\n queryHelpComponent={}\n topMargin={0} />\n \n);\n\nexport default RolesFilter;\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, useCallback } from 'react';\nimport styled from 'styled-components';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport type { PaginatedRoles } from 'actions/roles/AuthzRolesActions';\nimport { AuthzRolesActions } from 'stores/roles/AuthzRolesStore';\nimport { DataTable, Spinner, PaginatedList, NoSearchResult } from 'components/common';\nimport { Col, Row } from 'components/bootstrap';\nimport usePaginationQueryParameter from 'hooks/usePaginationQueryParameter';\n\nimport RolesOverviewItem from './RolesOverviewItem';\nimport RolesFilter from './RolesFilter';\n\nconst TABLE_HEADERS = ['Name', 'Description', 'Users', 'Actions'];\n\nconst Container = styled.div`\n .data-table {\n overflow-x: visible;\n }\n`;\n\nconst Header = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst LoadingSpinner = styled(Spinner)(({ theme }) => `\n margin-left: 10px;\n font-size: ${theme.fonts.size.h3};\n`);\n\nconst StyledPaginatedList = styled(PaginatedList)`\n .pagination {\n margin: 0;\n }\n`;\n\nconst _headerCellFormatter = (header) => {\n switch (header.toLowerCase()) {\n case 'actions':\n return {header};\n default:\n return {header};\n }\n};\n\nconst _loadRoles = (pagination, setLoading, setPaginatedRoles) => {\n setLoading(true);\n\n AuthzRolesDomain.loadRolesPaginated(pagination).then((paginatedRoles) => {\n setPaginatedRoles(paginatedRoles);\n setLoading(false);\n });\n};\n\nconst _updateListOnRoleDelete = (pagination, setLoading, setPaginatedRoles, callback: () => void) => AuthzRolesActions.delete.completed.listen(() => {\n _loadRoles(pagination, setLoading, setPaginatedRoles);\n callback();\n});\n\nconst getUseTeamMembersHook = () => {\n const defaultHook = () => ({ loading: false, users: [] });\n const teamsPlugin = PluginStore.exports('teams');\n\n return teamsPlugin?.[0]?.useTeamMembersByRole || defaultHook;\n};\n\nconst RolesOverview = () => {\n const { page, pageSize: perPage, resetPage } = usePaginationQueryParameter();\n const [paginatedRoles, setPaginatedRoles] = useState();\n const [loading, setLoading] = useState(false);\n const [query, setQuery] = useState('');\n const { list: roles } = paginatedRoles || {};\n const useTeamMembersByRole = getUseTeamMembersHook();\n const teamMembersByRole = useTeamMembersByRole();\n\n useEffect(() => _loadRoles({ page, perPage, query }, setLoading, setPaginatedRoles), [page, perPage, query]);\n useEffect(() => _updateListOnRoleDelete({ page, perPage, query }, setLoading, setPaginatedRoles, resetPage), [page, perPage, query, resetPage]);\n\n const handleSearch = (newQuery) => {\n resetPage();\n setQuery(newQuery);\n };\n\n const _rolesOverviewItem = useCallback((role) => {\n const { id: roleId } = role;\n const roleUsers = paginatedRoles?.context.users[roleId];\n const users = teamMembersByRole.users[roleId]\n ? [...teamMembersByRole.users[roleId], ...roleUsers]\n : paginatedRoles?.context?.users[roleId];\n\n return ;\n }, [teamMembersByRole, paginatedRoles?.context]);\n\n if (!paginatedRoles) {\n return ;\n }\n\n const searchFilter = ;\n\n return (\n \n \n \n
\n

Roles

\n {loading && }\n
\n

\n Found {paginatedRoles.pagination.total} roles on the system.\n

\n \n No roles have been found.}\n customFilter={searchFilter}\n dataRowFormatter={_rolesOverviewItem}\n filterKeys={[]}\n filterLabel=\"Filter Roles\" />\n \n \n
\n
\n );\n};\n\nexport default RolesOverview;\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 RolesOverview from './RolesOverview';\n\nexport default RolesOverview;\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 RolesOverview from 'components/roles/RolesOverview';\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport { Button, Row, Col, Alert } from 'components/bootstrap';\nimport { PageHeader, DocumentTitle, Icon } from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\n\nconst RolesOverviewPage = () => (\n \n \n \n \n )}>\n Overview of Graylog's roles. Roles allow granting capabilities to users, like creating dashboards or event definitions.\n\n \n\n \n \n Granting Permissions}>\n With Graylog 4.0, we've updated the permissions system and changed the purpose of roles.\n The built-in roles still allow granting capabilities to users, like creating dashboards or viewing the archive catalog.\n But they no longer grant permissions for a specific dashboard or stream. It is also not possible to create an own role.\n Granting permissions for a specific entity can now be done by using its Share button. You can find the button e.g. on the entities overview page.\n If you want to grant permissions for an entity to multiple users at once, you can use teams.\n Learn more in the .\n \n \n \n\n \n \n);\n\nexport default RolesOverviewPage;\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';\nimport type { $PropertyType } from 'utility-types';\n\ntype InternalState = {\n id: string,\n name: string,\n description: string,\n permissions: Immutable.Set,\n readOnly: boolean,\n};\n\nexport type RoleJSON = {\n id: string,\n name: string,\n description: string,\n permissions: Immutable.Set,\n read_only: boolean,\n};\n\nexport default class Role {\n _value: InternalState;\n\n constructor(\n id: $PropertyType,\n name: $PropertyType,\n description: $PropertyType,\n permissions: $PropertyType,\n readOnly: $PropertyType,\n ) {\n this._value = {\n id,\n name,\n description,\n permissions,\n readOnly,\n };\n }\n\n get id() {\n return this._value.id;\n }\n\n get name() {\n return this._value.name;\n }\n\n get description() {\n return this._value.description;\n }\n\n get permissions() {\n return this._value.permissions;\n }\n\n get readOnly() {\n return this._value.readOnly;\n }\n\n toBuilder() {\n const {\n id,\n name,\n description,\n permissions,\n readOnly,\n } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({\n id,\n name,\n description,\n permissions,\n readOnly,\n }));\n }\n\n static create(\n id: $PropertyType,\n name: $PropertyType,\n description: $PropertyType,\n permissions: $PropertyType,\n readOnly: $PropertyType,\n ) {\n return new Role(\n id,\n name,\n description,\n permissions,\n readOnly,\n );\n }\n\n toJSON() {\n const {\n id,\n name,\n description,\n permissions,\n readOnly,\n } = this._value;\n\n return {\n id,\n name,\n description,\n permissions,\n read_only: readOnly,\n };\n }\n\n static fromJSON(value: RoleJSON) {\n const {\n id,\n name,\n description,\n permissions,\n read_only: readOnly,\n } = value;\n\n return Role.create(\n id,\n name,\n description,\n permissions,\n readOnly,\n );\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder();\n }\n}\n\ntype BuilderState = Immutable.Map;\n\nclass Builder {\n value: BuilderState;\n\n constructor(value: BuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n id(value: $PropertyType) {\n return new Builder(this.value.set('id', value));\n }\n\n name(value: $PropertyType) {\n return new Builder(this.value.set('name', value));\n }\n\n description(value: $PropertyType) {\n return new Builder(this.value.set('description', value));\n }\n\n permissions(value: $PropertyType) {\n return new Builder(this.value.set('permissions', value));\n }\n\n readOnly(value: $PropertyType) {\n return new Builder(this.value.set('readOnly', value));\n }\n\n build() {\n const {\n id,\n name,\n description,\n permissions,\n readOnly,\n } = this.value.toObject();\n\n return new Role(\n id,\n name,\n description,\n permissions,\n readOnly,\n );\n }\n}\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 Reflux from 'reflux';\nimport type * as Immutable from 'immutable';\n\nimport type Role from 'logic/roles/Role';\nimport type UserOverview from 'logic/users/UserOverview';\nimport { singletonActions } from 'logic/singleton';\nimport type { PaginatedList, Pagination } from 'stores/PaginationTypes';\n\nexport type UserContext = {\n id: string,\n username: string,\n};\n\nexport type RoleContext = {\n users: { [key: string]: UserContext[] },\n};\n\nexport type PaginatedRoles = PaginatedList & {\n context: RoleContext,\n};\nexport type PaginatedUsers = PaginatedList;\n\nexport type ActionsType = {\n load: (roleId: string) => Promise,\n delete: (roleId: string, roleName: string) => Promise,\n addMembers: (roleId: string, usernames: Immutable.Set) => Promise,\n removeMember: (roleId: string, username: string) => Promise,\n loadUsersForRole: (roleId: string, roleName: string, pagination: Pagination) => Promise,\n loadRolesForUser: (username: string, pagination: Pagination) => Promise,\n loadRolesPaginated: (pagination: Pagination) => Promise,\n};\n\nconst AuthzRolesActions = singletonActions(\n 'AuthzRoles',\n () => Reflux.createActions({\n load: { asyncResult: true },\n delete: { asyncResult: true },\n addMembers: { asyncResult: true },\n removeMember: { asyncResult: true },\n loadUsersForRole: { asyncResult: true },\n loadRolesForUser: { asyncResult: true },\n loadRolesPaginated: { asyncResult: true },\n }),\n);\n\nexport default AuthzRolesActions;\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 Reflux from 'reflux';\nimport * as Immutable from 'immutable';\nimport type { $PropertyType } from 'utility-types';\n\nimport type { PaginatedUsersResponse } from 'stores/users/UsersStore';\nimport type { Store } from 'stores/StoreTypes';\nimport fetch from 'logic/rest/FetchProvider';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport { qualifyUrl } from 'util/URLUtils';\nimport { singletonStore } from 'logic/singleton';\nimport PaginationURL from 'util/PaginationURL';\nimport Role from 'logic/roles/Role';\nimport type { RoleJSON } from 'logic/roles/Role';\nimport type { PaginatedRoles, PaginatedUsers, RoleContext } from 'actions/roles/AuthzRolesActions';\nimport AuthzRolesActions from 'actions/roles/AuthzRolesActions';\nimport UserOverview from 'logic/users/UserOverview';\nimport type { PaginatedListJSON, Pagination } from 'stores/PaginationTypes';\n\nexport type PaginatedRolesResponse = PaginatedListJSON & {\n roles: Array,\n context?: RoleContext,\n};\n\nconst _responseToPaginatedList = ({\n count,\n total,\n page,\n per_page,\n query,\n roles = [],\n context = { users: undefined },\n}: PaginatedRolesResponse) => ({\n list: Immutable.List(roles.map((r) => Role.fromJSON(r))),\n pagination: {\n query,\n page,\n perPage: per_page,\n count,\n total,\n },\n context,\n});\n\nconst _responseToPaginatedUserList = ({ count, total, page, per_page, query, users }: PaginatedUsersResponse) => ({\n list: Immutable.List(users.map((u) => UserOverview.fromJSON(u))),\n pagination: {\n page,\n perPage: per_page,\n query,\n count,\n total,\n },\n});\n\nconst encodeApiUrl = (apiRoute: (...args: Array) => { url: string }, uriParams: Array = []): string => {\n const encodedUriParams = uriParams.map((param) => encodeURIComponent(param));\n\n return apiRoute(...encodedUriParams).url;\n};\n\nconst AuthzRolesStore: Store<{}> = singletonStore(\n 'AuthzRoles',\n () => Reflux.createStore({\n listenables: [AuthzRolesActions],\n\n load(roleId: $PropertyType): Promise {\n const url = qualifyUrl(encodeApiUrl(ApiRoutes.AuthzRolesController.load, [roleId]));\n const promise = fetch('GET', url).then(Role.fromJSON);\n\n AuthzRolesActions.load.promise(promise);\n\n return promise;\n },\n\n delete(roleId: string): Promise {\n const url = qualifyUrl(encodeApiUrl(ApiRoutes.AuthzRolesController.delete, [roleId]));\n const promise = fetch('DELETE', url);\n\n AuthzRolesActions.delete.promise(promise);\n\n return promise;\n },\n\n addMembers(roleId: string, usernames: Immutable.Set): Promise {\n const url = encodeApiUrl(ApiRoutes.AuthzRolesController.addMembers, [roleId]);\n const promise = fetch('PUT', qualifyUrl(url), usernames.toArray());\n\n AuthzRolesActions.addMembers.promise(promise);\n\n return promise;\n },\n\n removeMember(roleId: string, username: string): Promise {\n const url = encodeApiUrl(ApiRoutes.AuthzRolesController.removeMember, [roleId, username]);\n const promise = fetch('DELETE', qualifyUrl(url));\n\n AuthzRolesActions.removeMember.promise(promise);\n\n return promise;\n },\n\n loadUsersForRole(roleId: string, _roleName: string, {\n page,\n perPage,\n query,\n }: Pagination): Promise {\n const apiUrl = encodeApiUrl(ApiRoutes.AuthzRolesController.loadUsersForRole, [roleId]);\n const url = PaginationURL(apiUrl, page, perPage, query);\n\n const promise = fetch('GET', qualifyUrl(url))\n .then(_responseToPaginatedUserList);\n\n AuthzRolesActions.loadUsersForRole.promise(promise);\n\n return promise;\n },\n\n loadRolesForUser(username: string, { page, perPage, query }: Pagination): Promise {\n const apiUrl = encodeApiUrl(ApiRoutes.AuthzRolesController.loadRolesForUser, [username]);\n const url = PaginationURL(apiUrl, page, perPage, query);\n\n const promise = fetch('GET', qualifyUrl(url))\n .then(_responseToPaginatedList);\n\n AuthzRolesActions.loadRolesForUser.promise(promise);\n\n return promise;\n },\n\n loadRolesPaginated({ page, perPage, query }: Pagination): Promise {\n const apiUrl = encodeApiUrl(ApiRoutes.AuthzRolesController.list);\n const url = PaginationURL(apiUrl, page, perPage, query);\n\n const promise = fetch('GET', qualifyUrl(url))\n .then(_responseToPaginatedList);\n\n AuthzRolesActions.loadRolesPaginated.promise(promise);\n\n return promise;\n },\n }),\n);\n\nexport { AuthzRolesActions, AuthzRolesStore };\n"],"names":["load","error","roleId","deleteAction","_roleId","roleName","addMembers","usernames","removeMember","username","loadUsersForRole","loadRolesForUser","loadRolesPaginated","UserOverview","id","fullName","email","roles","readOnly","external","sessionActive","clientAddress","lastActivity","enabled","authServiceId","authServiceUid","authServiceEnabled","accountStatus","Builder","value","ActionsWrapper","_deleteRole","setDeleting","confirmMessage","getOneUser","AuthzRolesDomain","paginatedUsers","deleting","Routes","MAX_USERS","users","usersLength","usersComponents","index","DescriptionCell","name","description","RolesQueryHelperPopover","Container","onSearch","TABLE_HEADERS","Header","LoadingSpinner","theme","StyledPaginatedList","_headerCellFormatter","header","_loadRoles","pagination","setLoading","setPaginatedRoles","paginatedRoles","_updateListOnRoleDelete","callback","getUseTeamMembersHook","defaultHook","teamsPlugin","page","perPage","resetPage","usePaginationQueryParameter","loading","query","setQuery","teamMembersByRole","handleSearch","newQuery","_rolesOverviewItem","role","roleUsers","searchFilter","DocsHelper","DocumentationLink","Role","permissions","singleton","_responseToPaginatedList","count","total","per_page","context","r","_responseToPaginatedUserList","u","encodeApiUrl","apiRoute","uriParams","encodedUriParams","param","AuthzRolesStore","url","ApiRoutes","promise","_roleName","apiUrl","PaginationURL"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy