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

web-interface.assets.b6fe2bb5-4821.4e3f7591e66ebd993417.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"b6fe2bb5-4821.4e3f7591e66ebd993417.js","mappings":"4OA8BMA,EAASC,EAAAA,QAAAA,IAAAA,WAAH,mEAAGA,CAAH,8GAUCC,EAAWD,EAAAA,QAAAA,GAAAA,WAAH,qEAAGA,CAAH,wCAKfE,GAAiBF,EAAAA,EAAAA,SAAOG,EAAAA,GAAV,sFAAGH,EAAgB,gBAAGI,EAAH,EAAGA,MAAH,OAAeC,EAAAA,EAAAA,KAAd,CAAD,mCAExBD,EAAME,MAAMC,KAAKC,OAG1BC,EAAmB,SAAC,GAAD,IAAGC,EAAH,EAAGA,SAAUC,EAAb,EAAaA,MAAb,IAAoBC,YAAAA,OAApB,SAAyCC,EAAzC,EAAyCA,cAAeC,EAAxD,EAAwDA,UAAxD,OACvB,gBAAC,KAAD,CAAKA,UAAS,kBAAaA,IACzB,gBAAC,KAAD,CAAKC,GAAI,IACP,gBAAChB,EAAD,KACE,gBAACE,EAAD,KACGU,EACAC,GAAe,gBAACV,EAAD,CAAgBc,KAAK,GAAGC,MAAO,KAEhDJ,GAEFH,KAKPD,EAAiBS,aAAe,CAC9BJ,UAAW,GACXF,aAAa,EACbC,mBAAeM,GAGjB,W,wECQA,SACEC,MA5DWC,EAAAA,EAAAA,GAAgB,CAC3BC,OAAQC,EAAAA,EAAAA,KACRC,MAAO,SAACA,EAAOC,GAAR,MAAoB,CACzBC,QAAS,yBAAF,OAA2BD,EAA3B,iCAA0DD,KAEnEG,kBAAkB,IAwDlBC,QArDmBP,EAAAA,EAAAA,GAAgB,CACnCC,OAAQC,EAAAA,EAAAA,OACRM,QAAS,SAACJ,EAAQK,GAAT,MAAuB,CAC9BJ,QAAS,SAAF,OAAWI,EAAX,gCAETN,MAAO,SAACA,EAAOC,EAAQK,GAAhB,MAA8B,CACnCJ,QAA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D+G,EAA6D,EAA7DA,KAAMwB,EAAuD,EAAvDA,QAASL,EAA8C,EAA9CA,MAC5CuB,EAASd,EAAaU,EAAAA,EAAAA,qBAAAA,iBAAiD,CAACrJ,IACxEiJ,GAAMS,EAAAA,EAAAA,GAAcD,EAAQ1C,EAAMwB,EAASL,GAE3CoB,GAAUC,EAAAA,EAAAA,IAAM,OAAOH,EAAAA,EAAAA,IAAWH,IACrCrG,KAAKkF,GAIR,OAFA1I,EAAAA,iBAAAA,QAA2CkK,GAEpCA,GAGTnJ,mBA/DuB,YA+D2D,IAA7D4G,EAA6D,EAA7DA,KAAMwB,EAAuD,EAAvDA,QAASL,EAA8C,EAA9CA,MAC5BuB,EAASd,EAAaU,EAAAA,EAAAA,qBAAAA,MACtBJ,GAAMS,EAAAA,EAAAA,GAAcD,EAAQ1C,EAAMwB,EAASL,GAE3CoB,GAAUC,EAAAA,EAAAA,IAAM,OAAOH,EAAAA,EAAAA,IAAWH,IACrCrG,KAAKkF,GAIR,OAFA1I,EAAAA,mBAAAA,QAA6CkK,GAEtCA","sources":["webpack://graylog-web-interface/./src/components/common/Section/SectionComponent.tsx","webpack://graylog-web-interface/./src/domainActions/roles/AuthzRolesDomain.ts","webpack://graylog-web-interface/./src/components/users/UserCreate/UsernameFormGroup.tsx","webpack://graylog-web-interface/./src/components/users/UserCreate/UserCreate.tsx","webpack://graylog-web-interface/./src/components/users/UserCreate/index.js","webpack://graylog-web-interface/./src/pages/UserCreatePage.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 * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport Spinner from 'components/common/Spinner';\nimport { Row, Col } from 'components/bootstrap';\n\ntype Props = {\n  children: React.ReactNode,\n  title: string,\n  showLoading?: boolean,\n  headerActions?: React.ReactElement,\n  className?: string,\n};\n\nconst Header = styled.div`\n  display: flex;\n  justify-content: space-between;\n  align-items: flex-start;\n\n  *:not(:first-child) {\n    margin-left: 10px;\n  }\n`;\n\nexport const Headline = styled.h2`\n  margin-bottom: 15px;\n  display: inline;\n`;\n\nconst LoadingSpinner = styled(Spinner)(({ theme }) => css`\n  margin-left: 10px;\n  font-size: ${theme.fonts.size.h3};\n`);\n\nconst SectionComponent = ({ children, title, showLoading = false, headerActions, className }: Props) => (\n  \n    \n      
\n \n {title}\n {showLoading && }\n \n {headerActions}\n
\n {children}\n \n
\n);\n\nSectionComponent.defaultProps = {\n className: '',\n showLoading: false,\n headerActions: undefined,\n};\n\nexport default SectionComponent;\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 { 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, username, 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 * as React from 'react';\nimport type * as Immutable from 'immutable';\n\nimport type User from 'logic/users/User';\nimport { FormikFormGroup } from 'components/common';\n\ntype Props = {\n users?: Immutable.List,\n};\n\nconst UsernameFormGroup = ({ users }: Props) => {\n const _validate = (value) => {\n let error;\n const usernameExists = users && !!users.some((user) => user.username === value);\n\n if (usernameExists) {\n error = 'Username is already taken';\n }\n\n return error;\n };\n\n return (\n \n );\n};\n\nUsernameFormGroup.defaultProps = {\n users: undefined,\n};\n\nexport default UsernameFormGroup;\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 { useEffect, useState } from 'react';\nimport { Formik, Form } from 'formik';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type { DescriptiveItem } from 'components/common/PaginatedItemOverview';\nimport User from 'logic/users/User';\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport PaginatedItem from 'components/common/PaginatedItemOverview/PaginatedItem';\nimport RolesSelector from 'components/permissions/RolesSelector';\nimport { Spinner } from 'components/common';\nimport { Alert, Col, Row, Button, ButtonToolbar, Input } from 'components/bootstrap';\nimport history from 'util/History';\nimport Routes from 'routing/Routes';\nimport AppConfig from 'util/AppConfig';\n\nimport TimezoneFormGroup from './TimezoneFormGroup';\nimport TimeoutFormGroup from './TimeoutFormGroup';\nimport FirstNameFormGroup from './FirstNameFormGroup';\nimport LastNameFormGroup from './LastNameFormGroup';\nimport EmailFormGroup from './EmailFormGroup';\nimport PasswordFormGroup, { validatePasswords } from './PasswordFormGroup';\nimport UsernameFormGroup from './UsernameFormGroup';\nimport ServiceAccountFormGroup from './ServiceAccountFormGroup';\n\nimport { Headline } from '../../common/Section/SectionComponent';\n\nconst isCloud = AppConfig.isCloud();\n\nconst oktaUserForm = isCloud ? PluginStore.exports('cloud')[0].oktaUserForm : null;\n\nconst _onSubmit = (formData, roles, setSubmitError) => {\n let data = { ...formData, roles: roles.toJS(), permissions: [] };\n delete data.password_repeat;\n\n if (isCloud && oktaUserForm) {\n const { onCreate } = oktaUserForm;\n data = onCreate(data);\n } else {\n data.username = data.username.trim();\n }\n\n setSubmitError(null);\n\n return UsersDomain.create(data).then(() => {\n history.push(Routes.SYSTEM.USERS.OVERVIEW);\n }, (error) => setSubmitError(error));\n};\n\nconst _validate = (values) => {\n let errors = {};\n\n const { password, password_repeat: passwordRepeat } = values;\n\n if (isCloud && oktaUserForm) {\n const { validations: { password: validateCloudPasswords } } = oktaUserForm;\n\n errors = validateCloudPasswords(errors, password, passwordRepeat);\n } else {\n errors = validatePasswords(errors, password, passwordRepeat);\n }\n\n return errors;\n};\n\ntype RequestError = { additional: { res: { text: string }}};\n\nconst UserCreate = () => {\n const initialRole = { name: 'Reader', description: 'Grants basic permissions for every Graylog user (built-in)', id: '' };\n const [users, setUsers] = useState | undefined>();\n const [user, setUser] = useState(User.empty().toBuilder().roles(Immutable.Set([initialRole.name])).build());\n const [submitError, setSubmitError] = useState();\n const [selectedRoles, setSelectedRoles] = useState>(Immutable.Set([initialRole]));\n\n useEffect(() => {\n UsersDomain.loadUsers().then(setUsers);\n }, []);\n\n const _onAssignRole = (roles: Immutable.Set) => {\n setSelectedRoles(selectedRoles.union(roles));\n const roleNames = roles.map((r) => r.name);\n\n return Promise.resolve(\n setUser(user.toBuilder().roles(user.roles.union(roleNames)).build()),\n );\n };\n\n const _onUnassignRole = (role: DescriptiveItem) => {\n setSelectedRoles(selectedRoles.remove(role));\n setUser(user.toBuilder().roles(user.roles.remove(role?.name)).build());\n };\n\n const _handleCancel = () => history.push(Routes.SYSTEM.USERS.OVERVIEW);\n const hasValidRole = selectedRoles.size > 0 && selectedRoles.filter((role) => role.name === 'Reader' || role.name === 'Admin');\n\n const getUserNameGroup = () => {\n if (isCloud && oktaUserForm) {\n const { fields: { username: CloudUserNameFormGroup } } = oktaUserForm;\n\n return CloudUserNameFormGroup && ;\n }\n\n return (\n \n );\n };\n\n const getEmailGroup = () => {\n if (isCloud && oktaUserForm) {\n const { fields: { email: CloudEmailFormGroup } } = oktaUserForm;\n\n return CloudEmailFormGroup && ;\n }\n\n return (\n \n );\n };\n\n const getPasswordGroup = () => {\n if (isCloud && oktaUserForm) {\n const { fields: { password: CloudPasswordFormGroup } } = oktaUserForm;\n\n return ;\n }\n\n return ;\n };\n\n if (!users) {\n return ;\n }\n\n const showSubmitError = (errors) => {\n if (isCloud && oktaUserForm) {\n const { extractSubmitError } = oktaUserForm;\n\n return extractSubmitError(errors);\n }\n\n return errors?.additional?.res?.text;\n };\n\n return (\n \n \n _onSubmit(data, user.roles, setSubmitError)}\n validate={_validate}\n initialValues={{}}>\n {({ isSubmitting, isValid }) => (\n
\n
\n Profile\n \n \n {getUserNameGroup()}\n {getEmailGroup()}\n
\n
\n Settings\n \n \n \n
\n
\n Roles\n \n role.name} />\n \n\n \n <>\n {selectedRoles.map((role) => (\n _onUnassignRole(data)}\n key={role.id} />\n ))}\n {!hasValidRole && You need to select at least one of the Reader or Admin roles.}\n \n \n
\n
\n Password\n {getPasswordGroup()}\n
\n {submitError && (\n \n \n \n Failed to create user
\n {showSubmitError(submitError)}\n
\n \n
\n )}\n \n \n \n \n \n \n \n \n
\n )}\n
\n \n
\n );\n};\n\nexport default UserCreate;\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 UserCreate from './UserCreate';\n\nexport default UserCreate;\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 Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport { Button } from 'components/bootstrap';\nimport { PageHeader, DocumentTitle } from 'components/common';\nimport UserCreate from 'components/users/UserCreate';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport UserOverviewLinks from 'components/users/navigation/UserOverviewLinks';\n\nconst UserCreatePage = () => (\n \n \n \n \n )}>\n \n Use this page to create new Graylog users. The users and their permissions created here are not limited\n to the web interface but valid and required for the REST APIs of your Graylog server nodes, too.\n \n\n \n Learn more in the{' '}\n \n \n\n \n \n\n \n \n);\n\nexport default UserCreatePage;\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 = ({ count, total, page, per_page, query, roles = [], context = { users: undefined } }: 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, { page, perPage, query }: 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":["Header","styled","Headline","LoadingSpinner","Spinner","theme","css","fonts","size","h3","SectionComponent","children","title","showLoading","headerActions","className","xs","text","delay","defaultProps","undefined","load","notifyingAction","action","AuthzRolesActions","error","roleId","message","notFoundRedirect","delete","success","roleName","addMembers","usernames","join","removeMember","username","loadUsersForRole","loadRolesForUser","loadRolesPaginated","UsernameFormGroup","users","label","name","required","validate","value","some","user","help","isCloud","AppConfig","oktaUserForm","PluginStore","_validate","values","errors","password","passwordRepeat","password_repeat","validateCloudPasswords","validations","validatePasswords","initialRole","description","id","useState","setUsers","User","toBuilder","roles","Immutable","build","setUser","submitError","setSubmitError","selectedRoles","setSelectedRoles","useEffect","UsersDomain","then","_onAssignRole","union","roleNames","map","r","Promise","resolve","_handleCancel","history","Routes","hasValidRole","filter","role","lg","Formik","onSubmit","data","formData","toJS","permissions","onCreate","trim","_onSubmit","initialValues","isSubmitting","isValid","Form","FirstNameFormGroup","LastNameFormGroup","CloudUserNameFormGroup","fields","getUserNameGroup","CloudEmailFormGroup","email","EmailFormGroup","getEmailGroup","TimeoutFormGroup","TimezoneFormGroup","ServiceAccountFormGroup","labelClassName","wrapperClassName","RolesSelector","assignedRolesIds","identifier","PaginatedItem","item","onDeleteItem","remove","_onUnassignRole","key","bsStyle","CloudPasswordFormGroup","PasswordFormGroup","getPasswordGroup","xsOffset","extractSubmitError","additional","res","md","mdOffset","disabled","type","onClick","subactions","to","DocumentationLink","page","DocsHelper","UserOverviewLinks","Role","readOnly","this","_value","Builder","read_only","create","set","toObject","singletonActions","Reflux","asyncResult","_responseToPaginatedList","count","total","per_page","query","context","list","fromJSON","pagination","perPage","_responseToPaginatedUserList","u","UserOverview","encodeApiUrl","apiRoute","uriParams","encodedUriParams","param","encodeURIComponent","url","singletonStore","listenables","qualifyUrl","ApiRoutes","promise","fetch","toArray","apiUrl","PaginationURL"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy