mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
40 lines
1,010 B
TypeScript
40 lines
1,010 B
TypeScript
|
import GroupSettings from '../../../../modules/managed-users/frontend/js/components/group-settings'
|
||
|
import { useMeta } from '../../hooks/use-meta'
|
||
|
|
||
|
export const GroupSettingsWithManagedUsersDisabledAndNoSSOFeature = () => {
|
||
|
useMeta({
|
||
|
'ol-managedUsersEnabled': false,
|
||
|
'ol-hasGroupSSOFeature': false,
|
||
|
})
|
||
|
return <GroupSettings />
|
||
|
}
|
||
|
|
||
|
export const GroupSettingsWithManagedUsersDisabledAndSSOFeature = () => {
|
||
|
useMeta({
|
||
|
'ol-managedUsersEnabled': false,
|
||
|
'ol-hasGroupSSOFeature': true,
|
||
|
})
|
||
|
return <GroupSettings />
|
||
|
}
|
||
|
|
||
|
export const GroupSettingsWithManagedUsersEnabledAndNoSSOFeature = () => {
|
||
|
useMeta({
|
||
|
'ol-managedUsersEnabled': true,
|
||
|
'ol-hasGroupSSOFeature': false,
|
||
|
})
|
||
|
return <GroupSettings />
|
||
|
}
|
||
|
|
||
|
export const GroupSettingsWithManagedUsersEnabledAndSSOFeature = () => {
|
||
|
useMeta({
|
||
|
'ol-managedUsersEnabled': true,
|
||
|
'ol-hasGroupSSOFeature': true,
|
||
|
})
|
||
|
return <GroupSettings />
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
title: 'Subscription / Managed Users',
|
||
|
component: GroupSettings,
|
||
|
}
|