diff --git a/app/kubernetes/views/configure/configure.html b/app/kubernetes/views/configure/configure.html
index 95c942686..d1a8c22e8 100644
--- a/app/kubernetes/views/configure/configure.html
+++ b/app/kubernetes/views/configure/configure.html
@@ -135,7 +135,7 @@
{
+ if (!isAuthorisedToAddEdit) {
+ const message = `Not authorized to ${isEdit ? 'edit' : 'add'} ingresses`;
+ notifyError('Error', new Error(message));
+ router.stateService.go('kubernetes.ingresses');
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [isAuthorisedToAddEdit, isEdit]);
+
const [namespace, setNamespace] = useState(params.namespace || '');
const [ingressRule, setIngressRule] = useState({} as Rule);