[MM-62609] Show Group Mentions permissions if custom groups is enabled (#30319)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ac10bb12a5
Коммит
aa1f50cb30
@@ -240,7 +240,7 @@ export default class PermissionsTree extends React.PureComponent<Props, State> {
|
||||
if (scope === 'team_scope' && this.groups[0].id !== 'teams_team_scope') {
|
||||
this.groups[0].id = 'teams_team_scope';
|
||||
}
|
||||
if (license?.IsLicensed === 'true' && license?.LDAPGroups === 'true' && !postsGroup.permissions.includes(Permissions.USE_GROUP_MENTIONS)) {
|
||||
if (license?.IsLicensed === 'true' && (license?.LDAPGroups === 'true' || config.EnableCustomGroups === 'true') && !postsGroup.permissions.includes(Permissions.USE_GROUP_MENTIONS)) {
|
||||
postsGroup.permissions.push(Permissions.USE_GROUP_MENTIONS);
|
||||
}
|
||||
postsGroup.permissions.push({
|
||||
|
||||
Ссылка в новой задаче
Block a user