@@ -46,7 +46,6 @@ const ManagePermissionsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
4646 isSubmitting,
4747 formValues : {
4848 team,
49- authority,
5049 role,
5150 member,
5251 permissions,
@@ -66,7 +65,6 @@ const ManagePermissionsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
6665 } ,
6766 ] = useToggle ( ) ;
6867
69- const isModRoleSelected = role === UserRole . Mod ;
7068 const hasNoDecisionMethods = useHasNoDecisionMethods ( ) ;
7169 const createdInFilterFn = useFilterCreatedInField ( 'team' ) ;
7270
@@ -100,9 +98,6 @@ const ManagePermissionsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
10098 if ( value === UserRole . Owner ) {
10199 return team === undefined || Number ( team ) === Id . RootDomain ;
102100 }
103- if ( value === UserRole . Mod ) {
104- return authority !== Authority . ViaMultiSig ;
105- }
106101 return true ;
107102 } ) ,
108103 } ) ,
@@ -173,26 +168,12 @@ const ManagePermissionsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
173168 id : 'actionSidebar.tooltip.authority' ,
174169 } ) ,
175170 } ,
176- content : isModRoleSelected
177- ? {
178- tooltipContent : formatText ( {
179- id : 'actionSidebar.managePermissions.authority.disbaledTooltip' ,
180- } ) ,
181- selectTriggerRef : ( triggerRef ) => {
182- if ( ! triggerRef ) {
183- return null ;
184- }
185-
186- return triggerRef . querySelector ( 'span' ) ;
187- } ,
188- }
189- : undefined ,
190171 } }
191172 title = { formatText ( { id : 'actionSidebar.authority' } ) }
192173 isDisabled = { hasNoDecisionMethods }
193174 >
194175 < FormCardSelect
195- disabled = { isModRoleSelected || hasNoDecisionMethods }
176+ disabled = { hasNoDecisionMethods }
196177 name = "authority"
197178 options = { AUTHORITY_OPTIONS }
198179 title = { formatText ( {
0 commit comments