MM-63378: Test and fix permission issues with System Manager team access (#30672)
* test PermissionView semantics * change required ancillary permissions `PermissionSysconsoleReadReportingTeamStatistics` doesn't strictly need `PermissionViewTeam`, but can work with whatever teams the user has access to. * remove unnecessary timeouts * remove redundant comment * update snapshots * Update e2e-tests/playwright/specs/functional/system_console/permissions/team_access.spec.ts Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com> --------- Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com> Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
848bac2bae
Коммит
6f33b721de
@@ -6,6 +6,7 @@ exports[`admin_console/system_role_permission should match snapshot 1`] = `
|
||||
>
|
||||
<div
|
||||
className="PermissionSection"
|
||||
data-testid="permission_section_environment"
|
||||
key="environment"
|
||||
>
|
||||
<div
|
||||
|
||||
@@ -84,6 +84,7 @@ export default class SystemRolePermission extends React.PureComponent<Props> {
|
||||
return (
|
||||
<div
|
||||
key={section.name}
|
||||
data-testid={`permission_section_${section.name}`}
|
||||
className='PermissionSection'
|
||||
>
|
||||
<div className='PermissionSectionText'>
|
||||
|
||||
Ссылка в новой задаче
Block a user