mirror of https://github.com/portainer/portainer
fix(nodes): restrict nodes details from standard user [EE-6125] (#10586)
Co-authored-by: testa113 <testa113>pull/10587/head
parent
103d908e63
commit
0c323b48e7
|
@ -12,6 +12,7 @@ export const node = columnHelper.accessor('nodeName', {
|
|||
<Authorized
|
||||
authorizations="K8sClusterNodeR"
|
||||
childrenUnauthorized={nodeName}
|
||||
adminOnlyCE
|
||||
>
|
||||
<Link to="kubernetes.cluster.node" params={{ nodeName }}>
|
||||
<div className="max-w-xs truncate" title={nodeName}>
|
||||
|
|
|
@ -23,6 +23,7 @@ function NameCell({
|
|||
<Authorized
|
||||
authorizations="K8sClusterNodeR"
|
||||
childrenUnauthorized={nodeName}
|
||||
adminOnlyCE
|
||||
>
|
||||
<Link to="kubernetes.cluster.node" params={{ nodeName }}>
|
||||
{nodeName}
|
||||
|
|
Loading…
Reference in New Issue