Role Based Access Control
Role based access control is method of authorization in which access is provided to users based on their roles. There can be multiple users binded to a single role.
Unlike ABAC, permissions are independent of users. This makes the updation of permissions easy.
It has two types,
In namespaced, role and bindings happen in particular namespace only. It has Role
and RoleBinding
objects.
In cluster spaced, cluster role and binding happen in the whole cluster, across namespaces. It uses ClusterRole
and ClusterRoleBinding
.