feat: add open managed group type

This commit is contained in:
Cristhian Garcia
2023-11-07 12:26:23 -05:00
committed by Adolfo R. Brandes
parent ad7ba2f302
commit 6e83e90cf0
3 changed files with 13 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ const TeamTypeNameMessage = {
label: messages.groupTypePrivateManaged,
description: messages.groupTypePrivateManagedDescription,
},
[GroupTypes.OPEN_MANAGED]: {
label: messages.groupTypeOpenManaged,
description: messages.groupTypeOpenManagedDescription,
},
};
const GroupEditor = ({

View File

@@ -93,6 +93,14 @@ const messages = defineMessages({
id: 'authoring.pagesAndResources.teams.group.types.open',
defaultMessage: 'Open',
},
groupTypeOpenManaged: {
id: 'authoring.pagesAndResources.teams.group.types.open_managed',
defaultMessage: 'Open managed',
},
groupTypeOpenManagedDescription: {
id: 'authoring.pagesAndResources.teams.group.types.open_managed.description',
defaultMessage: 'Only course staff can control teams. Learners can see other teams and choose it.',
},
groupTypeOpenDescription: {
id: 'authoring.pagesAndResources.teams.group.types.open.description',
defaultMessage: 'Learners can create, join, leave, and see other teams',