@@ -268,6 +268,19 @@ export const sectionContracts = [
268268 driver : enterpriseOrganization ,
269269 activeSidebarItem : true ,
270270 } ,
271+ {
272+ contractId : 'organization-sessions' ,
273+ plane : 'organization' ,
274+ sectionId : 'sessions' ,
275+ group : 'security' ,
276+ label : 'Session policies' ,
277+ pathTemplate : '/organization/{organizationId}/settings/sessions' ,
278+ heading : 'Session policies' ,
279+ description : 'Limit session lifetimes and sign out members org-wide.' ,
280+ readiness : { kind : 'button' , name : 'Sign out all members' } ,
281+ driver : enterpriseOrganization ,
282+ activeSidebarItem : true ,
283+ } ,
271284 {
272285 contractId : 'organization-data-retention' ,
273286 plane : 'organization' ,
@@ -412,6 +425,15 @@ export const sectionContracts = [
412425 { kind : 'text' , value : 'Provider Type' } ,
413426 enterpriseWorkspace ,
414427 ] ,
428+ [
429+ 'workspace-sessions' ,
430+ 'sessions' ,
431+ 'enterprise' ,
432+ 'Session policies' ,
433+ 'Limit session lifetimes and sign out members org-wide.' ,
434+ { kind : 'button' , name : 'Sign out all members' } ,
435+ enterpriseWorkspace ,
436+ ] ,
415437 [
416438 'workspace-whitelabeling' ,
417439 'whitelabeling' ,
@@ -782,6 +804,7 @@ export const personaVisibilityCases = [
782804 'access-control' ,
783805 'audit-logs' ,
784806 'sso' ,
807+ 'sessions' ,
785808 'data-retention' ,
786809 'data-drains' ,
787810 'whitelabeling' ,
@@ -792,6 +815,7 @@ export const personaVisibilityCases = [
792815 'Access control' ,
793816 'Audit logs' ,
794817 'Single sign-on' ,
818+ 'Session policies' ,
795819 'Data retention' ,
796820 'Data drains' ,
797821 'Whitelabeling' ,
@@ -807,8 +831,20 @@ export const personaVisibilityCases = [
807831 driver : lapsedOrganization ,
808832 expectedVisibleSectionIds : [ 'members' , 'billing' ] ,
809833 expectedVisibleLabels : [ 'Members' , 'Billing' ] ,
810- importantHiddenSectionIds : [ 'access-control' , 'audit-logs' , 'sso' , 'data-retention' ] ,
811- importantHiddenLabels : [ 'Access control' , 'Audit logs' , 'Single sign-on' , 'Data retention' ] ,
834+ importantHiddenSectionIds : [
835+ 'access-control' ,
836+ 'audit-logs' ,
837+ 'sso' ,
838+ 'sessions' ,
839+ 'data-retention' ,
840+ ] ,
841+ importantHiddenLabels : [
842+ 'Access control' ,
843+ 'Audit logs' ,
844+ 'Single sign-on' ,
845+ 'Session policies' ,
846+ 'Data retention' ,
847+ ] ,
812848 representativeSectionId : 'members' ,
813849 representativeLabel : 'Members' ,
814850 } ,
@@ -818,8 +854,8 @@ export const personaVisibilityCases = [
818854 driver : teamOrganizationMember ,
819855 expectedVisibleSectionIds : [ 'members' ] ,
820856 expectedVisibleLabels : [ 'Members' ] ,
821- importantHiddenSectionIds : [ 'billing' , 'access-control' , 'audit-logs' ] ,
822- importantHiddenLabels : [ 'Billing' , 'Access control' , 'Audit logs' ] ,
857+ importantHiddenSectionIds : [ 'billing' , 'access-control' , 'audit-logs' , 'sessions' ] ,
858+ importantHiddenLabels : [ 'Billing' , 'Access control' , 'Audit logs' , 'Session policies' ] ,
823859 representativeSectionId : 'members' ,
824860 representativeLabel : 'Members' ,
825861 } ,
@@ -882,6 +918,7 @@ export const personaVisibilityCases = [
882918 'audit-logs' ,
883919 'forks' ,
884920 'sso' ,
921+ 'sessions' ,
885922 'data-retention' ,
886923 'data-drains' ,
887924 'whitelabeling' ,
@@ -905,6 +942,7 @@ export const personaVisibilityCases = [
905942 'Audit logs' ,
906943 'Workspace Forks' ,
907944 'Single sign-on' ,
945+ 'Session policies' ,
908946 'Data retention' ,
909947 'Data drains' ,
910948 'Whitelabeling' ,
0 commit comments