File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
javascript/grid-ui/src/components/RunningSessions Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,9 @@ function RunningSessions (props) {
301301 } else {
302302 setRowOpen ( '' )
303303 }
304+ } else if ( response . status === 403 ) {
305+ setFeedbackMessage ( 'Session deletion is blocked by configuration' )
306+ setFeedbackSeverity ( 'error' )
304307 } else {
305308 setFeedbackMessage ( 'Failed to delete session' )
306309 setFeedbackSeverity ( 'error' )
@@ -686,6 +689,9 @@ function RunningSessions (props) {
686689 < Typography >
687690 Are you sure you want to delete this session? This action cannot be undone.
688691 </ Typography >
692+ < Typography variant = "body2" color = "text.secondary" sx = { { mt : 2 , fontStyle : 'italic' } } >
693+ Hint: Set config `--blocked-delete-session` when starting Router/Hub to block deletion of any session.
694+ </ Typography >
689695 </ DialogContent >
690696 < DialogActions >
691697 < Button
You can’t perform that action at this time.
0 commit comments