Manage access to a namespace
Kubernetes role-based access control (RBAC) must be enabled and working before access control will work in Portainer.
From the menu select Namespaces then select Manage access on the same row as the namespace you want to manage.
![](https://docs.portainer.io/~gitbook/image?url=https%3A%2F%2F3146734376-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwXVC6tYZrbL0dPoO2iBb%252Fuploads%252FbrAWVSQeVf9xdwOo4P8Z%252F2.15-k8s_kubernetes_namespaces_manage_namespace_access.gif%3Falt%3Dmedia%26token%3Dcab1e140-6934-4208-9444-83a62d69c118&width=768&dpr=4&quality=100&sign=a7a6747f&sv=1)
Select the users/teams who will have access then click Create access.
Users or groups with cluster-wide roles (such as the Operator role) cannot be assigned to individual namespaces, as their cluster-wide nature applies to all namespaces in the environment.
![](https://docs.portainer.io/~gitbook/image?url=https%3A%2F%2F3146734376-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwXVC6tYZrbL0dPoO2iBb%252Fuploads%252FhHMhHYBpvnjMUSVSIiGQ%252F2.15-kubernetes_namespaces_manage_namespace_access.png%3Falt%3Dmedia%26token%3Dd7b5c26d-772a-488c-90c8-d1b276d8f580&width=768&dpr=4&quality=100&sign=63805644&sv=1)
Last updated