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xE4I,EAA2BR,IACtC,MAAM,QAAEM,EAAF,aAAWL,EAAX,gBAAyBtB,GAAoBqB,EAC7C0H,EAAgBpH,EAAQnK,MAAMwR,GAAMA,EAAEjJ,SAAWuB,EAAa9L,KAC9DiK,EAAasJ,EAAgBA,EAActJ,WAAa6H,EAAAA,GAAAA,OAE9D,OAAO2B,EAAsB,CAAExJ,WAAAA,EAAY6B,aAAAA,EAActB,gBAAAA,KAS9CiJ,EAAyB5H,IACpC,MAAM,WAAE5B,EAAF,aAAc6B,EAAd,gBAA4BtB,GAAoBqB,EAChD6H,EAAU5H,EAAa6H,gBAAkB7H,EAAa8H,UAAYC,EAAAA,GAAAA,MAClEC,EAAkB7J,IAAe6H,EAAAA,GAAAA,MAGvC,OAFgC4B,GAAWI,IAERtJ","sources":["webpack://grafana/./public/app/core/components/SharedPreferences/SharedPreferences.tsx","webpack://grafana/./public/app/features/teams/TeamGroupSync.tsx","webpack://grafana/./public/app/core/components/WithFeatureToggle.tsx","webpack://grafana/./public/app/features/teams/TeamMemberRow.tsx","webpack://grafana/./public/app/features/teams/TeamMembers.tsx","webpack://grafana/./public/app/features/teams/TeamPermissions.tsx","webpack://grafana/./public/app/features/teams/TeamSettings.tsx","webpack://grafana/./public/app/features/teams/TeamPages.tsx","webpack://grafana/./public/app/features/teams/state/actions.ts","webpack://grafana/./public/app/features/teams/state/navModel.ts","webpack://grafana/./public/app/features/teams/state/selectors.ts"],"sourcesContent":["import { css } from '@emotion/css';\nimport { t, Trans } from '@lingui/macro';\nimport React, { PureComponent } from 'react';\n\nimport { SelectableValue } from '@grafana/data';\nimport { selectors } from '@grafana/e2e-selectors';\nimport {\n Button,\n Field,\n FieldSet,\n Form,\n Icon,\n Label,\n RadioButtonGroup,\n Select,\n stylesFactory,\n TimeZonePicker,\n Tooltip,\n WeekStartPicker,\n} from '@grafana/ui';\nimport { PreferencesService } from 'app/core/services/PreferencesService';\nimport { backendSrv } from 'app/core/services/backend_srv';\nimport { DashboardSearchHit, DashboardSearchItemType } from 'app/features/search/types';\n\nimport { UserPreferencesDTO } from '../../../types';\n\nexport interface Props {\n resourceUri: string;\n disabled?: boolean;\n}\n\nexport type State = UserPreferencesDTO & {\n dashboards: DashboardSearchHit[];\n};\n\nconst themes: SelectableValue[] = [\n { value: '', label: t({ id: 'shared-preferences.theme.default-label', message: 'Default' }) },\n { value: 'dark', label: t({ id: 'shared-preferences.theme.dark-label', message: 'Dark' }) },\n { value: 'light', label: t({ id: 'shared-preferences.theme.light-label', message: 'Light' }) },\n];\n\nexport class SharedPreferences extends PureComponent {\n service: PreferencesService;\n\n constructor(props: Props) {\n super(props);\n\n this.service = new PreferencesService(props.resourceUri);\n this.state = {\n homeDashboardId: 0,\n theme: '',\n timezone: '',\n weekStart: '',\n dashboards: [],\n queryHistory: { homeTab: '' },\n };\n }\n\n async componentDidMount() {\n const prefs = await this.service.load();\n const dashboards = await backendSrv.search({ starred: true });\n const defaultDashboardHit: DashboardSearchHit = {\n id: 0,\n title: 'Default',\n tags: [],\n type: '' as DashboardSearchItemType,\n uid: '',\n uri: '',\n url: '',\n folderId: 0,\n folderTitle: '',\n folderUid: '',\n folderUrl: '',\n isStarred: false,\n slug: '',\n items: [],\n };\n\n if (prefs.homeDashboardId > 0 && !dashboards.find((d) => d.id === prefs.homeDashboardId)) {\n const missing = await backendSrv.search({ dashboardIds: [prefs.homeDashboardId] });\n if (missing && missing.length > 0) {\n dashboards.push(missing[0]);\n }\n }\n\n this.setState({\n homeDashboardId: prefs.homeDashboardId,\n theme: prefs.theme,\n timezone: prefs.timezone,\n weekStart: prefs.weekStart,\n dashboards: [defaultDashboardHit, ...dashboards],\n queryHistory: prefs.queryHistory,\n });\n }\n\n onSubmitForm = async () => {\n const { homeDashboardId, theme, timezone, weekStart, queryHistory } = this.state;\n await this.service.update({ homeDashboardId, theme, timezone, weekStart, queryHistory });\n window.location.reload();\n };\n\n onThemeChanged = (value: string) => {\n this.setState({ theme: value });\n };\n\n onTimeZoneChanged = (timezone?: string) => {\n if (!timezone) {\n return;\n }\n this.setState({ timezone: timezone });\n };\n\n onWeekStartChanged = (weekStart: string) => {\n this.setState({ weekStart: weekStart });\n };\n\n onHomeDashboardChanged = (dashboardId: number) => {\n this.setState({ homeDashboardId: dashboardId });\n };\n\n getFullDashName = (dashboard: SelectableValue) => {\n if (typeof dashboard.folderTitle === 'undefined' || dashboard.folderTitle === '') {\n return dashboard.title;\n }\n return dashboard.folderTitle + ' / ' + dashboard.title;\n };\n\n render() {\n const { theme, timezone, weekStart, homeDashboardId, dashboards } = this.state;\n const { disabled } = this.props;\n const styles = getStyles();\n\n const homeDashboardTooltip = (\n \n Not finding the dashboard you want? Star it first, then it should appear in this select box.\n \n }\n >\n \n \n );\n\n return (\n
\n {() => {\n return (\n
Preferences} disabled={disabled}>\n \n item.value === theme)?.value}\n onChange={this.onThemeChanged}\n />\n \n\n \n \n Home Dashboard\n \n\n {homeDashboardTooltip}\n \n }\n data-testid=\"User preferences home dashboard drop down\"\n >\n dashboard.id === homeDashboardId)}\n getOptionValue={(i) => i.id}\n getOptionLabel={this.getFullDashName}\n onChange={(dashboard: SelectableValue) =>\n this.onHomeDashboardChanged(dashboard.id)\n }\n options={dashboards}\n placeholder={t({\n id: 'shared-preferences.fields.home-dashboard-placeholder',\n message: 'Choose default dashboard',\n })}\n inputId=\"home-dashboard-select\"\n />\n \n\n \n \n \n\n \n \n \n\n
\n \n Save\n \n
\n
\n );\n }}\n
\n );\n }\n}\n\nexport default SharedPreferences;\n\nconst getStyles = stylesFactory(() => {\n return {\n labelText: css`\n margin-right: 6px;\n `,\n };\n});\n","import React, { PureComponent } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\n\nimport { Input, Tooltip, Icon, Button, useTheme2, InlineField, InlineFieldRow } from '@grafana/ui';\nimport { SlideDown } from 'app/core/components/Animations/SlideDown';\nimport { CloseButton } from 'app/core/components/CloseButton/CloseButton';\nimport EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';\nimport { UpgradeBox, UpgradeContent, UpgradeContentProps } from 'app/core/components/Upgrade/UpgradeBox';\nimport { highlightTrial } from 'app/features/admin/utils';\n\nimport { StoreState, TeamGroup } from '../../types';\n\nimport { addTeamGroup, loadTeamGroups, removeTeamGroup } from './state/actions';\nimport { getTeamGroups } from './state/selectors';\n\nfunction mapStateToProps(state: StoreState) {\n return {\n groups: getTeamGroups(state.team),\n };\n}\n\nconst mapDispatchToProps = {\n loadTeamGroups,\n addTeamGroup,\n removeTeamGroup,\n};\n\ninterface OwnProps {\n isReadOnly: boolean;\n}\n\ninterface State {\n isAdding: boolean;\n newGroupId: string;\n}\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\nexport type Props = OwnProps & ConnectedProps;\n\nconst headerTooltip = `Sync LDAP or OAuth groups with your Grafana teams.`;\n\nexport class TeamGroupSync extends PureComponent {\n constructor(props: Props) {\n super(props);\n this.state = { isAdding: false, newGroupId: '' };\n }\n\n componentDidMount() {\n this.fetchTeamGroups();\n }\n\n async fetchTeamGroups() {\n await this.props.loadTeamGroups();\n }\n\n onToggleAdding = () => {\n this.setState({ isAdding: !this.state.isAdding });\n };\n\n onNewGroupIdChanged = (event: any) => {\n this.setState({ newGroupId: event.target.value });\n };\n\n onAddGroup = (event: any) => {\n event.preventDefault();\n this.props.addTeamGroup(this.state.newGroupId);\n this.setState({ isAdding: false, newGroupId: '' });\n };\n\n onRemoveGroup = (group: TeamGroup) => {\n this.props.removeTeamGroup(group.groupId);\n };\n\n isNewGroupValid() {\n return this.state.newGroupId.length > 1;\n }\n\n renderGroup(group: TeamGroup) {\n const { isReadOnly } = this.props;\n return (\n \n {group.groupId}\n \n this.onRemoveGroup(group)}\n disabled={isReadOnly}\n aria-label={`Remove group ${group.groupId}`}\n >\n \n \n \n \n );\n }\n\n render() {\n const { isAdding, newGroupId } = this.state;\n const { groups, isReadOnly } = this.props;\n return (\n
\n {highlightTrial() && (\n \n )}\n
\n {(!highlightTrial() || groups.length > 0) && (\n <>\n

External group sync

\n \n \n \n \n )}\n
\n {groups.length > 0 && (\n \n )}\n
\n\n \n
\n \n
\n \n \n \n \n\n \n \n
\n
\n
\n\n {groups.length === 0 &&\n !isAdding &&\n (highlightTrial() ? (\n \n ) : (\n \n ))}\n\n {groups.length > 0 && (\n
\n \n \n \n \n \n \n {groups.map((group) => this.renderGroup(group))}\n
External Group ID\n
\n
\n )}\n
\n );\n }\n}\n\nexport const TeamSyncUpgradeContent = ({ action }: { action?: UpgradeContentProps['action'] }) => {\n const theme = useTheme2();\n return (\n \n );\n};\nexport default connect(mapStateToProps, mapDispatchToProps)(TeamGroupSync);\n","import React, { FunctionComponent } from 'react';\n\nexport interface Props {\n featureToggle: boolean;\n}\n\nexport const WithFeatureToggle: FunctionComponent = ({ featureToggle, children }) => {\n if (featureToggle === true) {\n return <>{children};\n }\n\n return null;\n};\n","import React, { PureComponent } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\n\nimport { SelectableValue } from '@grafana/data';\nimport { LegacyForms, DeleteButton } from '@grafana/ui';\nimport { TagBadge } from 'app/core/components/TagFilter/TagBadge';\nimport { WithFeatureToggle } from 'app/core/components/WithFeatureToggle';\nimport { TeamMember, teamsPermissionLevels, TeamPermissionLevel } from 'app/types';\n\nimport { updateTeamMember, removeTeamMember } from './state/actions';\n\nconst { Select } = LegacyForms;\n\nconst mapDispatchToProps = {\n removeTeamMember,\n updateTeamMember,\n};\n\nconst connector = connect(null, mapDispatchToProps);\n\ninterface OwnProps {\n member: TeamMember;\n syncEnabled: boolean;\n editorsCanAdmin: boolean;\n signedInUserIsTeamAdmin: boolean;\n}\nexport type Props = ConnectedProps & OwnProps;\n\nexport class TeamMemberRow extends PureComponent {\n constructor(props: Props) {\n super(props);\n this.renderLabels = this.renderLabels.bind(this);\n this.renderPermissions = this.renderPermissions.bind(this);\n }\n\n onRemoveMember(member: TeamMember) {\n this.props.removeTeamMember(member.userId);\n }\n\n onPermissionChange = (item: SelectableValue, member: TeamMember) => {\n const permission = item.value;\n const updatedTeamMember: TeamMember = {\n ...member,\n permission: permission as number,\n };\n\n this.props.updateTeamMember(updatedTeamMember);\n };\n\n renderPermissions(member: TeamMember) {\n const { editorsCanAdmin, signedInUserIsTeamAdmin } = this.props;\n const value = teamsPermissionLevels.find((dp) => dp.value === member.permission)!;\n\n return (\n \n \n
\n {signedInUserIsTeamAdmin && (\n this.onPermissionChange(item, member)}\n className=\"gf-form-select-box__control--menu-right\"\n value={value}\n />\n )}\n {!signedInUserIsTeamAdmin && {value.label}}\n
\n \n
\n );\n }\n\n renderLabels(labels: string[]) {\n if (!labels) {\n return ;\n }\n\n return (\n \n {labels.map((label) => (\n {}} />\n ))}\n \n );\n }\n\n render() {\n const { member, syncEnabled, signedInUserIsTeamAdmin } = this.props;\n return (\n \n \n \n \n {member.login}\n {member.email}\n {member.name}\n {this.renderPermissions(member)}\n {syncEnabled && this.renderLabels(member.labels)}\n \n this.onRemoveMember(member)}\n />\n \n \n );\n }\n}\n\nexport default connector(TeamMemberRow);\n","import React, { PureComponent } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\n\nimport { SelectableValue } from '@grafana/data';\nimport { Button, FilterInput, Label } from '@grafana/ui';\nimport { SlideDown } from 'app/core/components/Animations/SlideDown';\nimport { CloseButton } from 'app/core/components/CloseButton/CloseButton';\nimport { UserPicker } from 'app/core/components/Select/UserPicker';\nimport { TagBadge } from 'app/core/components/TagFilter/TagBadge';\nimport { WithFeatureToggle } from 'app/core/components/WithFeatureToggle';\nimport { config } from 'app/core/config';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { TeamMember, OrgUser } from 'app/types';\n\nimport TeamMemberRow from './TeamMemberRow';\nimport { addTeamMember } from './state/actions';\nimport { setSearchMemberQuery } from './state/reducers';\nimport { getSearchMemberQuery, isSignedInUserTeamAdmin } from './state/selectors';\n\nfunction mapStateToProps(state: any) {\n return {\n searchMemberQuery: getSearchMemberQuery(state.team),\n editorsCanAdmin: config.editorsCanAdmin, // this makes the feature toggle mockable/controllable from tests,\n signedInUser: contextSrv.user, // this makes the feature toggle mockable/controllable from tests,\n };\n}\n\nconst mapDispatchToProps = {\n addTeamMember,\n setSearchMemberQuery,\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\ninterface OwnProps {\n members: TeamMember[];\n syncEnabled: boolean;\n}\n\nexport type Props = ConnectedProps & OwnProps;\n\nexport interface State {\n isAdding: boolean;\n newTeamMember?: SelectableValue | null;\n}\n\nexport class TeamMembers extends PureComponent {\n constructor(props: Props) {\n super(props);\n this.state = { isAdding: false, newTeamMember: null };\n }\n\n onSearchQueryChange = (value: string) => {\n this.props.setSearchMemberQuery(value);\n };\n\n onToggleAdding = () => {\n this.setState({ isAdding: !this.state.isAdding });\n };\n\n onUserSelected = (user: SelectableValue) => {\n this.setState({ newTeamMember: user });\n };\n\n onAddUserToTeam = async () => {\n this.props.addTeamMember(this.state.newTeamMember!.id);\n this.setState({ newTeamMember: null });\n };\n\n renderLabels(labels: string[]) {\n if (!labels) {\n return ;\n }\n\n return (\n \n {labels.map((label) => (\n {}} />\n ))}\n \n );\n }\n\n render() {\n const { isAdding } = this.state;\n const { searchMemberQuery, members, syncEnabled, editorsCanAdmin, signedInUser } = this.props;\n const isTeamAdmin = isSignedInUserTeamAdmin({ members, editorsCanAdmin, signedInUser });\n\n return (\n
\n
\n
\n \n
\n \n
\n\n \n
\n \n \n
\n \n {this.state.newTeamMember && (\n \n )}\n
\n
\n
\n\n
\n \n \n \n \n \n \n \n \n \n {syncEnabled && \n \n \n {members &&\n members.map((member) => (\n \n ))}\n \n
\n LoginEmailNamePermission}\n \n
\n
\n
\n );\n }\n}\n\nexport default connector(TeamMembers);\n","import React from 'react';\n\nimport { Permissions } from 'app/core/components/AccessControl';\nimport { contextSrv } from 'app/core/services/context_srv';\n\nimport { AccessControlAction, Team } from '../../types';\n\ntype TeamPermissionsProps = {\n team: Team;\n};\n\n// TeamPermissions component replaces TeamMembers component when the accesscontrol feature flag is set\nconst TeamPermissions = (props: TeamPermissionsProps) => {\n const canSetPermissions = contextSrv.hasPermissionInMetadata(\n AccessControlAction.ActionTeamsPermissionsWrite,\n props.team\n );\n\n return (\n \n );\n};\n\nexport default TeamPermissions;\n","import React, { FC } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\n\nimport { Input, Field, Form, Button, FieldSet, VerticalGroup } from '@grafana/ui';\nimport { SharedPreferences } from 'app/core/components/SharedPreferences/SharedPreferences';\nimport { contextSrv } from 'app/core/core';\nimport { AccessControlAction, Team } from 'app/types';\n\nimport { updateTeam } from './state/actions';\n\nconst mapDispatchToProps = {\n updateTeam,\n};\n\nconst connector = connect(null, mapDispatchToProps);\n\ninterface OwnProps {\n team: Team;\n}\nexport type Props = ConnectedProps & OwnProps;\n\nexport const TeamSettings: FC = ({ team, updateTeam }) => {\n const canWriteTeamSettings = contextSrv.hasPermissionInMetadata(AccessControlAction.ActionTeamsWrite, team);\n\n return (\n \n
\n {\n updateTeam(formTeam.name, formTeam.email);\n }}\n disabled={!canWriteTeamSettings}\n >\n {({ register }) => (\n <>\n \n \n \n\n \n \n \n \n \n )}\n \n
\n \n
\n );\n};\n\nexport default connector(TeamSettings);\n","import { includes } from 'lodash';\nimport React, { PureComponent } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\n\nimport { NavModel } from '@grafana/data';\nimport { featureEnabled } from '@grafana/runtime';\nimport { Themeable2, withTheme2 } from '@grafana/ui';\nimport Page from 'app/core/components/Page/Page';\nimport { UpgradeBox } from 'app/core/components/Upgrade/UpgradeBox';\nimport config from 'app/core/config';\nimport { GrafanaRouteComponentProps } from 'app/core/navigation/types';\nimport { getNavModel } from 'app/core/selectors/navModel';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { AccessControlAction, StoreState } from 'app/types';\n\nimport TeamGroupSync, { TeamSyncUpgradeContent } from './TeamGroupSync';\nimport TeamMembers from './TeamMembers';\nimport TeamPermissions from './TeamPermissions';\nimport TeamSettings from './TeamSettings';\nimport { loadTeam, loadTeamMembers } from './state/actions';\nimport { getTeamLoadingNav } from './state/navModel';\nimport { getTeam, getTeamMembers, isSignedInUserTeamAdmin } from './state/selectors';\n\ninterface TeamPageRouteParams {\n id: string;\n page: string | null;\n}\n\nexport interface OwnProps extends GrafanaRouteComponentProps, Themeable2 {}\n\ninterface State {\n isSyncEnabled: boolean;\n isLoading: boolean;\n}\n\nenum PageTypes {\n Members = 'members',\n Settings = 'settings',\n GroupSync = 'groupsync',\n}\n\nfunction mapStateToProps(state: StoreState, props: OwnProps) {\n const teamId = parseInt(props.match.params.id, 10);\n const team = getTeam(state.team, teamId);\n let defaultPage = 'members';\n if (contextSrv.accessControlEnabled()) {\n // With RBAC the settings page will always be available\n if (!team || !contextSrv.hasPermissionInMetadata(AccessControlAction.ActionTeamsPermissionsRead, team)) {\n defaultPage = 'settings';\n }\n }\n const pageName = props.match.params.page ?? defaultPage;\n const teamLoadingNav = getTeamLoadingNav(pageName as string);\n const navModel = getNavModel(state.navIndex, `team-${pageName}-${teamId}`, teamLoadingNav);\n const members = getTeamMembers(state.team);\n\n return {\n navModel,\n teamId: teamId,\n pageName: pageName,\n team,\n members,\n editorsCanAdmin: config.editorsCanAdmin, // this makes the feature toggle mockable/controllable from tests,\n signedInUser: contextSrv.user, // this makes the feature toggle mockable/controllable from tests,\n };\n}\n\nconst mapDispatchToProps = {\n loadTeam,\n loadTeamMembers,\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type Props = OwnProps & ConnectedProps;\n\nexport class TeamPages extends PureComponent {\n constructor(props: Props) {\n super(props);\n\n this.state = {\n isLoading: false,\n isSyncEnabled: featureEnabled('teamsync'),\n };\n }\n\n async componentDidMount() {\n await this.fetchTeam();\n }\n\n async fetchTeam() {\n const { loadTeam, teamId } = this.props;\n this.setState({ isLoading: true });\n const team = await loadTeam(teamId);\n // With accesscontrol, the TeamPermissions will fetch team members\n if (!contextSrv.accessControlEnabled()) {\n await this.props.loadTeamMembers();\n }\n this.setState({ isLoading: false });\n return team;\n }\n\n getCurrentPage() {\n const pages = ['members', 'settings', 'groupsync'];\n const currentPage = this.props.pageName;\n return includes(pages, currentPage) ? currentPage : pages[0];\n }\n\n textsAreEqual = (text1: string, text2: string) => {\n if (!text1 && !text2) {\n return true;\n }\n\n if (!text1 || !text2) {\n return false;\n }\n\n return text1.toLocaleLowerCase() === text2.toLocaleLowerCase();\n };\n\n hideTabsFromNonTeamAdmin = (navModel: NavModel, isSignedInUserTeamAdmin: boolean) => {\n if (contextSrv.accessControlEnabled()) {\n return navModel;\n }\n\n if (!isSignedInUserTeamAdmin && navModel.main && navModel.main.children) {\n navModel.main.children\n .filter((navItem) => !this.textsAreEqual(navItem.text, PageTypes.Members))\n .map((navItem) => {\n navItem.hideFromTabs = true;\n });\n }\n\n return navModel;\n };\n\n renderPage(isSignedInUserTeamAdmin: boolean): React.ReactNode {\n const { isSyncEnabled } = this.state;\n const { members, team } = this.props;\n const currentPage = this.getCurrentPage();\n\n const canReadTeam = contextSrv.hasAccessInMetadata(\n AccessControlAction.ActionTeamsRead,\n team!,\n isSignedInUserTeamAdmin\n );\n const canReadTeamPermissions = contextSrv.hasAccessInMetadata(\n AccessControlAction.ActionTeamsPermissionsRead,\n team!,\n isSignedInUserTeamAdmin\n );\n const canWriteTeamPermissions = contextSrv.hasAccessInMetadata(\n AccessControlAction.ActionTeamsPermissionsWrite,\n team!,\n isSignedInUserTeamAdmin\n );\n\n switch (currentPage) {\n case PageTypes.Members:\n if (contextSrv.accessControlEnabled()) {\n return ;\n } else {\n return ;\n }\n case PageTypes.Settings:\n return canReadTeam && ;\n case PageTypes.GroupSync:\n if (isSyncEnabled) {\n if (canReadTeamPermissions) {\n return ;\n }\n } else if (config.featureToggles.featureHighlights) {\n return (\n <>\n \n \n \n );\n }\n }\n\n return null;\n }\n\n render() {\n const { team, navModel, members, editorsCanAdmin, signedInUser } = this.props;\n const isTeamAdmin = isSignedInUserTeamAdmin({ members, editorsCanAdmin, signedInUser });\n\n return (\n \n \n {team && Object.keys(team).length !== 0 && this.renderPage(isTeamAdmin)}\n \n \n );\n }\n}\n\nexport default connector(withTheme2(TeamPages));\n","import { getBackendSrv } from '@grafana/runtime';\nimport { updateNavIndex } from 'app/core/actions';\nimport { contextSrv } from 'app/core/core';\nimport { accessControlQueryParam } from 'app/core/utils/accessControl';\nimport { AccessControlAction, TeamMember, ThunkResult } from 'app/types';\n\nimport { buildNavModel } from './navModel';\nimport { teamGroupsLoaded, teamLoaded, teamMembersLoaded, teamsLoaded } from './reducers';\n\nexport function loadTeams(): ThunkResult {\n return async (dispatch) => {\n // Early return if the user cannot list teams\n if (!contextSrv.hasPermission(AccessControlAction.ActionTeamsRead)) {\n dispatch(teamsLoaded([]));\n return;\n }\n\n const response = await getBackendSrv().get(\n '/api/teams/search',\n accessControlQueryParam({ perpage: 1000, page: 1 })\n );\n dispatch(teamsLoaded(response.teams));\n };\n}\n\nexport function loadTeam(id: number): ThunkResult {\n return async (dispatch) => {\n const response = await getBackendSrv().get(`/api/teams/${id}`, accessControlQueryParam());\n dispatch(teamLoaded(response));\n dispatch(updateNavIndex(buildNavModel(response)));\n };\n}\n\nexport function loadTeamMembers(): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n const response = await getBackendSrv().get(`/api/teams/${team.id}/members`);\n dispatch(teamMembersLoaded(response));\n };\n}\n\nexport function addTeamMember(id: number): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n await getBackendSrv().post(`/api/teams/${team.id}/members`, { userId: id });\n dispatch(loadTeamMembers());\n };\n}\n\nexport function removeTeamMember(id: number): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n await getBackendSrv().delete(`/api/teams/${team.id}/members/${id}`);\n dispatch(loadTeamMembers());\n };\n}\n\nexport function updateTeam(name: string, email: string): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n await getBackendSrv().put(`/api/teams/${team.id}`, { name, email });\n dispatch(loadTeam(team.id));\n };\n}\n\nexport function loadTeamGroups(): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n const response = await getBackendSrv().get(`/api/teams/${team.id}/groups`);\n dispatch(teamGroupsLoaded(response));\n };\n}\n\nexport function addTeamGroup(groupId: string): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n await getBackendSrv().post(`/api/teams/${team.id}/groups`, { groupId: groupId });\n dispatch(loadTeamGroups());\n };\n}\n\nexport function removeTeamGroup(groupId: string): ThunkResult {\n return async (dispatch, getStore) => {\n const team = getStore().team.team;\n await getBackendSrv().delete(`/api/teams/${team.id}/groups/${encodeURIComponent(groupId)}`);\n dispatch(loadTeamGroups());\n };\n}\n\nexport function deleteTeam(id: number): ThunkResult {\n return async (dispatch) => {\n await getBackendSrv().delete(`/api/teams/${id}`);\n // Update users permissions in case they lost teams.read with the deletion\n await contextSrv.fetchUserPermissions();\n dispatch(loadTeams());\n };\n}\n\nexport function updateTeamMember(member: TeamMember): ThunkResult {\n return async (dispatch) => {\n await getBackendSrv().put(`/api/teams/${member.teamId}/members/${member.userId}`, {\n permission: member.permission,\n });\n dispatch(loadTeamMembers());\n };\n}\n","import { NavModelItem, NavModel } from '@grafana/data';\nimport { featureEnabled } from '@grafana/runtime';\nimport { ProBadge } from 'app/core/components/Upgrade/ProBadge';\nimport config from 'app/core/config';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { highlightTrial } from 'app/features/admin/utils';\nimport { AccessControlAction, Team, TeamPermissionLevel } from 'app/types';\n\nconst loadingTeam = {\n avatarUrl: 'public/img/user_profile.png',\n id: 1,\n name: 'Loading',\n email: 'loading',\n memberCount: 0,\n permission: TeamPermissionLevel.Member,\n};\n\nexport function buildNavModel(team: Team): NavModelItem {\n const navModel: NavModelItem = {\n img: team.avatarUrl,\n id: 'team-' + team.id,\n subTitle: 'Manage members and settings',\n url: '',\n text: team.name,\n breadcrumbs: [{ title: 'Teams', url: 'org/teams' }],\n children: [\n // With RBAC this tab will always be available (but not always editable)\n // With Legacy it will be hidden by hideTabsFromNonTeamAdmin should the user not be allowed to see it\n {\n active: false,\n icon: 'sliders-v-alt',\n id: `team-settings-${team.id}`,\n text: 'Settings',\n url: `org/teams/edit/${team.id}/settings`,\n },\n ],\n };\n\n // While team is loading we leave the members tab\n // With RBAC the Members tab is available when user has ActionTeamsPermissionsRead for this team\n // With Legacy it will always be present\n if (\n team === loadingTeam ||\n contextSrv.hasPermissionInMetadata(AccessControlAction.ActionTeamsPermissionsRead, team)\n ) {\n navModel.children!.unshift({\n active: false,\n icon: 'users-alt',\n id: `team-members-${team.id}`,\n text: 'Members',\n url: `org/teams/edit/${team.id}/members`,\n });\n }\n\n const teamGroupSync: NavModelItem = {\n active: false,\n icon: 'sync',\n id: `team-groupsync-${team.id}`,\n text: 'External group sync',\n url: `org/teams/edit/${team.id}/groupsync`,\n };\n\n const isLoadingTeam = team === loadingTeam;\n\n if (highlightTrial()) {\n teamGroupSync.tabSuffix = () =>\n ProBadge({ experimentId: isLoadingTeam ? '' : 'feature-highlights-team-sync-badge', eventVariant: 'trial' });\n }\n\n // With both Legacy and RBAC the tab is protected being featureEnabled\n // While team is loading we leave the teamsync tab\n // With RBAC the External Group Sync tab is available when user has ActionTeamsPermissionsRead for this team\n if (featureEnabled('teamsync')) {\n if (isLoadingTeam || contextSrv.hasPermissionInMetadata(AccessControlAction.ActionTeamsPermissionsRead, team)) {\n navModel.children!.push(teamGroupSync);\n }\n } else if (config.featureToggles.featureHighlights) {\n navModel.children!.push({\n ...teamGroupSync,\n tabSuffix: () => ProBadge({ experimentId: isLoadingTeam ? '' : 'feature-highlights-team-sync-badge' }),\n });\n }\n\n return navModel;\n}\n\nexport function getTeamLoadingNav(pageName: string): NavModel {\n const main = buildNavModel(loadingTeam);\n\n let node: NavModelItem;\n\n // find active page\n for (const child of main.children!) {\n if (child.id!.indexOf(pageName) > 0) {\n child.active = true;\n node = child;\n break;\n }\n }\n\n return {\n main: main,\n node: node!,\n };\n}\n","import { User } from 'app/core/services/context_srv';\nimport { Team, TeamsState, TeamState, TeamMember, OrgRole, TeamPermissionLevel } from 'app/types';\n\nexport const getSearchQuery = (state: TeamsState) => state.searchQuery;\nexport const getSearchMemberQuery = (state: TeamState) => state.searchMemberQuery;\nexport const getTeamGroups = (state: TeamState) => state.groups;\nexport const getTeamsCount = (state: TeamsState) => state.teams.length;\nexport const getTeamsSearchPage = (state: TeamsState) => state.searchPage;\n\nexport const getTeam = (state: TeamState, currentTeamId: any): Team | null => {\n if (state.team.id === parseInt(currentTeamId, 10)) {\n return state.team;\n }\n\n return null;\n};\n\nexport const getTeams = (state: TeamsState) => {\n const regex = RegExp(state.searchQuery, 'i');\n\n return state.teams.filter((team) => {\n return regex.test(team.name);\n });\n};\n\nexport const getTeamMembers = (state: TeamState) => {\n const regex = RegExp(state.searchMemberQuery, 'i');\n\n return state.members.filter((member) => {\n return regex.test(member.login) || regex.test(member.email) || regex.test(member.name);\n });\n};\n\nexport interface Config {\n members: TeamMember[];\n editorsCanAdmin: boolean;\n signedInUser: User;\n}\n\nexport const isSignedInUserTeamAdmin = (config: Config): boolean => {\n const { members, signedInUser, editorsCanAdmin } = config;\n const userInMembers = members.find((m) => m.userId === signedInUser.id);\n const permission = userInMembers ? userInMembers.permission : TeamPermissionLevel.Member;\n\n return isPermissionTeamAdmin({ permission, signedInUser, editorsCanAdmin });\n};\n\nexport interface PermissionConfig {\n permission: TeamPermissionLevel;\n editorsCanAdmin: boolean;\n signedInUser: User;\n}\n\nexport const isPermissionTeamAdmin = (config: PermissionConfig): boolean => {\n const { permission, signedInUser, editorsCanAdmin } = config;\n const isAdmin = signedInUser.isGrafanaAdmin || signedInUser.orgRole === OrgRole.Admin;\n const userIsTeamAdmin = permission === TeamPermissionLevel.Admin;\n const isSignedInUserTeamAdmin = isAdmin || userIsTeamAdmin;\n\n return isSignedInUserTeamAdmin || !editorsCanAdmin;\n};\n"],"names":["themes","value","label","id","SharedPreferences","PureComponent","constructor","props","super","async","homeDashboardId","theme","timezone","weekStart","queryHistory","this","state","service","update","window","location","reload","setState","dashboardId","dashboard","folderTitle","title","PreferencesService","resourceUri","dashboards","homeTab","prefs","load","backendSrv","starred","find","d","missing","dashboardIds","length","push","tags","type","uid","uri","url","folderId","folderUid","folderUrl","isStarred","slug","items","render","disabled","styles","getStyles","homeDashboardTooltip","Tooltip","content","Icon","name","Form","onSubmit","onSubmitForm","FieldSet","Field","RadioButtonGroup","options","item","onChange","onThemeChanged","Label","htmlFor","className","labelText","Select","getOptionValue","i","getOptionLabel","getFullDashName","onHomeDashboardChanged","placeholder","inputId","selectors","TimeZonePicker","includeInternal","onTimeZoneChanged","WeekStartPicker","onWeekStartChanged","Button","variant","stylesFactory","css","mapStateToProps","groups","getTeamGroups","team","mapDispatchToProps","loadTeamGroups","addTeamGroup","removeTeamGroup","headerTooltip","connect","TeamGroupSync","isAdding","event","newGroupId","target","preventDefault","group","groupId","componentDidMount","fetchTeamGroups","isNewGroupValid","renderGroup","isReadOnly","style","width","size","onClick","onRemoveGroup","highlightTrial","UpgradeBox","featureId","eventVariant","featureName","text","placement","onToggleAdding","SlideDown","in","CloseButton","onAddGroup","InlineFieldRow","InlineField","Input","onNewGroupIdChanged","marginLeft","TeamSyncUpgradeContent","action","EmptyListCTA","buttonIcon","buttonTitle","proTip","proTipLinkTitle","proTipLink","proTipTarget","buttonDisabled","map","useTheme2","listItems","image","isLight","featureUrl","description","WithFeatureToggle","featureToggle","children","LegacyForms","removeTeamMember","updateTeamMember","connector","TeamMemberRow","member","permission","updatedTeamMember","renderLabels","bind","renderPermissions","onRemoveMember","userId","editorsCanAdmin","signedInUserIsTeamAdmin","teamsPermissionLevels","dp","isSearchable","onPermissionChange","labels","TagBadge","removeIcon","count","syncEnabled","src","avatarUrl","login","email","DeleteButton","onConfirm","addTeamMember","setSearchMemberQuery","searchMemberQuery","getSearchMemberQuery","config","signedInUser","contextSrv","TeamMembers","user","newTeamMember","members","isTeamAdmin","isSignedInUserTeamAdmin","FilterInput","onSearchQueryChange","UserPicker","onSelected","onUserSelected","onAddUserToTeam","canSetPermissions","AccessControlAction","P","addPermissionTitle","buttonLabel","resource","resourceId","updateTeam","canWriteTeamSettings","VerticalGroup","defaultValues","formTeam","register","required","PageTypes","loadTeam","loadTeamMembers","teamId","parseInt","match","params","getTeam","defaultPage","pageName","page","teamLoadingNav","getTeamLoadingNav","navModel","getNavModel","navIndex","getTeamMembers","TeamPages","text1","text2","toLocaleLowerCase","main","filter","navItem","textsAreEqual","Members","hideFromTabs","isLoading","isSyncEnabled","featureEnabled","fetchTeam","getCurrentPage","pages","currentPage","includes","renderPage","canReadTeam","canReadTeamPermissions","canWriteTeamPermissions","Settings","GroupSync","Page","hideTabsFromNonTeamAdmin","Object","keys","withTheme2","loadTeams","dispatch","teamsLoaded","response","getBackendSrv","get","accessControlQueryParam","perpage","teams","teamLoaded","updateNavIndex","buildNavModel","getStore","teamMembersLoaded","post","delete","put","teamGroupsLoaded","encodeURIComponent","deleteTeam","loadingTeam","memberCount","TeamPermissionLevel","img","subTitle","breadcrumbs","active","icon","unshift","teamGroupSync","isLoadingTeam","tabSuffix","ProBadge","experimentId","node","child","indexOf","getSearchQuery","searchQuery","getTeamsCount","getTeamsSearchPage","searchPage","currentTeamId","getTeams","regex","RegExp","test","userInMembers","m","isPermissionTeamAdmin","isAdmin","isGrafanaAdmin","orgRole","OrgRole","userIsTeamAdmin"],"sourceRoot":""}